aboutsummaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-27 15:51:17 -0400
committerIvan Chen <ivan@tagg.id>2021-07-29 13:12:47 -0400
commit4170b75030ff07339a5d59a32206dc6e2d843ed7 (patch)
tree05e1584aafdf550ba13b93760d8ae18cad757237 /src/store
parent265814c782e4196bf57cd2fb507f80546498618e (diff)
Accept caption
Diffstat (limited to 'src/store')
-rw-r--r--src/store/actions/user.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/store/actions/user.ts b/src/store/actions/user.ts
index 14865f25..f01e2bac 100644
--- a/src/store/actions/user.ts
+++ b/src/store/actions/user.ts
@@ -380,6 +380,7 @@ export const handleVideoMomentUpload =
(
videoUri: string,
videoLength: number,
+ caption: string,
momentCategory: string,
formattedTags: {
x: number;
@@ -413,7 +414,10 @@ export const handleVideoMomentUpload =
payload: {momentUploadProgressBar},
});
// get a presigned url for the video
- const presignedURLResponse = await handlePresignedURL(momentCategory);
+ const presignedURLResponse = await handlePresignedURL(
+ caption,
+ momentCategory,
+ );
if (!presignedURLResponse) {
handleError('Presigned URL failed');
return;