From 1080d7f88ffd59354661139bfece0e3d715c281d Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Fri, 9 Feb 2024 00:16:02 +0530 Subject: [PATCH] fix: update valid_for_secs (#13604) --- packages/app-store/dailyvideo/lib/VideoApiAdapter.ts | 2 +- packages/app-store/shimmervideo/lib/VideoApiAdapter.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts b/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts index 79f3e205294be1..3c2aa548ac7682 100644 --- a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts +++ b/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts @@ -200,7 +200,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => { createInstantCalVideoRoom: (endTime: string) => createInstantMeeting(endTime), getRecordingDownloadLink: async (recordingId: string): Promise => { try { - const res = await fetcher(`/recordings/${recordingId}/access-link?valid_for_secs=172800`).then( + const res = await fetcher(`/recordings/${recordingId}/access-link?valid_for_secs=43200`).then( getAccessLinkResponseSchema.parse ); return Promise.resolve(res); diff --git a/packages/app-store/shimmervideo/lib/VideoApiAdapter.ts b/packages/app-store/shimmervideo/lib/VideoApiAdapter.ts index 0d2c60b6a015e8..7b12257265c62b 100644 --- a/packages/app-store/shimmervideo/lib/VideoApiAdapter.ts +++ b/packages/app-store/shimmervideo/lib/VideoApiAdapter.ts @@ -180,7 +180,7 @@ const ShimmerDailyVideoApiAdapter = (): VideoApiAdapter => { }, getRecordingDownloadLink: async (recordingId: string): Promise => { try { - const res = await fetcher(`/recordings/${recordingId}/access-link?valid_for_secs=172800`).then( + const res = await fetcher(`/recordings/${recordingId}/access-link?valid_for_secs=43200`).then( getAccessLinkResponseSchema.parse ); return Promise.resolve(res);