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:
authored and GitHub committed 2023-05-15 20:15:05 +00:00
1 parent 0d45cfb7ea
commit ea65a2a27e
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({