fix: add exp in /meeting-tokens (#8869)
* fix: add exp in /meeting-tokens Signed-off-by: Udit Takkar <[email protected]> * hijacking this PR to add a NIT change lol --------- Signed-off-by: Udit Takkar <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -93,7 +93,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
|
||||
const body = await translateEvent(event);
|
||||
const dailyEvent = await postToDailyAPI(endpoint, body).then(dailyReturnTypeSchema.parse);
|
||||
const meetingToken = await postToDailyAPI("/meeting-tokens", {
|
||||
properties: { room_name: dailyEvent.name, is_owner: true },
|
||||
properties: { room_name: dailyEvent.name, exp: dailyEvent.config.exp, is_owner: true },
|
||||
}).then(meetingTokenSchema.parse);
|
||||
|
||||
return Promise.resolve({
|
||||
|
||||
Reference in new issue
Block a user