diff options
Diffstat (limited to 'src')
-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, { |