From c08a67f5cc1d622e91828d0557c6716a40ee5bad Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 1 Jul 2021 16:23:19 -0400 Subject: Fix filename bug --- src/services/MomentService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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', -- cgit v1.2.3-70-g09d2