diff --git a/src/libs/HttpUtils.ts b/src/libs/HttpUtils.ts index 0b798205366c..859c8624833c 100644 --- a/src/libs/HttpUtils.ts +++ b/src/libs/HttpUtils.ts @@ -117,7 +117,7 @@ function processHTTPRequest(url: string, method: RequestType = 'get', body: Form function xhr(command: string, data: Record, type: RequestType = CONST.NETWORK.METHOD.POST, shouldUseSecure = false): Promise { const formData = new FormData(); Object.keys(data).forEach((key) => { - if (typeof data[key] === "undefined") { + if (typeof data[key] === 'undefined') { return; } formData.append(key, data[key] as string | Blob);