aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-01 16:23:19 -0400
committerIvan Chen <ivan@tagg.id>2021-07-01 16:23:19 -0400
commitc08a67f5cc1d622e91828d0557c6716a40ee5bad (patch)
tree80dce28b2c0d0f185f2a0f001a709bbc32088609
parent04dd962e8113dda15c54883d092e58d96da92edd (diff)
Fix filename bug
-rw-r--r--src/services/MomentService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/MomentService.ts b/src/services/MomentService.ts
index 87bdfa40..60e6be3f 100644
--- a/src/services/MomentService.ts
+++ b/src/services/MomentService.ts
@@ -220,7 +220,7 @@ export const handlePresignedURL = async (momentCategory: string) => {
try {
// TODO: just a random filename for video poc, we should not need to once complete
const randHash = Math.random().toString(36).substring(7);
- const filename = `[pc_${randHash}].mov`;
+ const filename = `pc_${randHash}.mov`;
const token = await AsyncStorage.getItem('token');
const response = await fetch(PRESIGNED_URL_ENDPOINT, {
method: 'POST',