diff options
author | Ivan Chen <ivan@tagg.id> | 2021-08-12 13:04:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 13:04:30 -0400 |
commit | 4b92b9d4d87a0c25fdbb21ff95230bae9b083677 (patch) | |
tree | f0bd7307dd9955b192af7185cc292f040296de9b /src/services | |
parent | efe8d53e6baa75b2329281867f7e864b73c7cd4e (diff) | |
parent | ae986acfd308f9469555d6381ce4870cab6c405f (diff) |
Merge pull request #550 from IvanIFChen/tma1040-moment-upload-retry
[TMA-1040] Moment Upload Retry
Diffstat (limited to 'src/services')
-rw-r--r-- | src/services/MomentService.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/services/MomentService.ts b/src/services/MomentService.ts index 0292f9ea..1915c597 100644 --- a/src/services/MomentService.ts +++ b/src/services/MomentService.ts @@ -21,7 +21,6 @@ export const postMoment = async ( uri: string, caption: string, category: string, - userId: string, ) => { try { const request = new FormData(); @@ -35,7 +34,6 @@ export const postMoment = async ( type: 'image/jpg', }); request.append('moment', category); - request.append('user_id', userId); request.append('captions', JSON.stringify({image: caption})); const token = await AsyncStorage.getItem('token'); let response = await fetch(MOMENTS_ENDPOINT, { |