fix: update valid_for_secs (#13604)

This commit is contained in:
Udit Takkar authored and GitHub committed 2024-02-08 18:46:02 +00:00
1 parent 4ebd52c9af
commit 1080d7f88f
2 files changed
+2 -2

No files matched your search

@@ -200,7 +200,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
createInstantCalVideoRoom: (endTime: string) => createInstantMeeting(endTime),
getRecordingDownloadLink: async (recordingId: string): Promise<GetAccessLinkResponseSchema> => {
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);
@@ -180,7 +180,7 @@ const ShimmerDailyVideoApiAdapter = (): VideoApiAdapter => {
},
getRecordingDownloadLink: async (recordingId: string): Promise<GetAccessLinkResponseSchema> => {
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);