From f1312add14df4249d6402abc9c350f2025466ca0 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Tue, 31 Oct 2023 13:31:58 +0100 Subject: [PATCH] Revert "Add eol" This reverts commit fc1d2462a4f976e4fce1ca811fe69365a03192a4. --- packages/realm-app-importer/src/AdminApiClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/realm-app-importer/src/AdminApiClient.ts b/packages/realm-app-importer/src/AdminApiClient.ts index 2d4dc94a5b..fb67e1a5e1 100644 --- a/packages/realm-app-importer/src/AdminApiClient.ts +++ b/packages/realm-app-importer/src/AdminApiClient.ts @@ -382,7 +382,7 @@ export class AdminApiClient { console.log("FISK 111", { ...rest, body: JSON.stringify(body), headers, reactNative: { textStreaming: true } }); const response = await DefaultNetworkTransport.fetch(url, { ...rest, - body: JSON.stringify(body + "\n"), + body: JSON.stringify(body), headers, // Setting additional options to signal to the RN fetch polyfill that it shouldn't consider the response a "blob" // see https://github.com/react-native-community/fetch/issues/15