From 05b73d4d1e886e424c75f8ecca9c756aa7b027dd Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 30 Aug 2024 08:32:18 +0100 Subject: [PATCH] extend token lifetime to 30 minutes (#5019) --- src/state/queries/video/video-upload.ts | 1 + src/state/queries/video/video-upload.web.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/state/queries/video/video-upload.ts b/src/state/queries/video/video-upload.ts index 11c8390c..50aa8bb6 100644 --- a/src/state/queries/video/video-upload.ts +++ b/src/state/queries/video/video-upload.ts @@ -44,6 +44,7 @@ export const useUploadVideoMutation = ({ { aud: serviceAuthAud, lxm: 'com.atproto.repo.uploadBlob', + exp: Date.now() + 1000 * 60 * 30, // 30 minutes }, ) diff --git a/src/state/queries/video/video-upload.web.ts b/src/state/queries/video/video-upload.web.ts index 4673bc41..123c6015 100644 --- a/src/state/queries/video/video-upload.web.ts +++ b/src/state/queries/video/video-upload.web.ts @@ -43,6 +43,7 @@ export const useUploadVideoMutation = ({ { aud: serviceAuthAud, lxm: 'com.atproto.repo.uploadBlob', + exp: Date.now() + 1000 * 60 * 30, // 30 minutes }, )