From 2dbe91a9c27192ba19a82f30aaee58b949e94f0f Mon Sep 17 00:00:00 2001 From: jameswilddev Date: Wed, 12 Jan 2022 14:11:16 +0000 Subject: [PATCH] Note workaround for Laravel misdesign. --- react-native/services/Sync/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/react-native/services/Sync/index.tsx b/react-native/services/Sync/index.tsx index 1234b140..f3e4a739 100644 --- a/react-native/services/Sync/index.tsx +++ b/react-native/services/Sync/index.tsx @@ -235,6 +235,8 @@ export class Sync< completedFiles: null, totalFiles: filesToPush.length, execute: async () => { + // TODO: due to laravel 302ing if you don't accept JSON + // this needs to expect empty JSON in response. await this.request.withoutResponse( `PUT`, `sync/${kebabCasedCollectionKey}/${uuid}`,