Skip to content

Commit

Permalink
extend token lifetime to 30 minutes (#5019)
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius authored Aug 30, 2024
1 parent 8cddce5 commit 05b73d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/state/queries/video/video-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const useUploadVideoMutation = ({
{
aud: serviceAuthAud,
lxm: 'com.atproto.repo.uploadBlob',
exp: Date.now() + 1000 * 60 * 30, // 30 minutes
},
)

Expand Down
1 change: 1 addition & 0 deletions src/state/queries/video/video-upload.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export const useUploadVideoMutation = ({
{
aud: serviceAuthAud,
lxm: 'com.atproto.repo.uploadBlob',
exp: Date.now() + 1000 * 60 * 30, // 30 minutes
},
)

Expand Down

0 comments on commit 05b73d4

Please sign in to comment.