Skip to content

Commit

Permalink
Note workaround for Laravel misdesign.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswilddev committed Jan 12, 2022
1 parent eb8918f commit 2dbe91a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react-native/services/Sync/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
Expand Down

0 comments on commit 2dbe91a

Please sign in to comment.