Fixing pydantic validation when creating meeting token.
This commit is contained in:
@@ -317,7 +317,13 @@ class DailyRESTHelper:
|
|||||||
|
|
||||||
if params is None:
|
if params is None:
|
||||||
params = DailyMeetingTokenParams(
|
params = DailyMeetingTokenParams(
|
||||||
**{"properties": {"room_name": room_name, "is_owner": owner, "exp": expiration}}
|
**{
|
||||||
|
"properties": {
|
||||||
|
"room_name": room_name,
|
||||||
|
"is_owner": owner,
|
||||||
|
"exp": int(expiration),
|
||||||
|
}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
params.properties.room_name = room_name
|
params.properties.room_name = room_name
|
||||||
|
|||||||
Reference in New Issue
Block a user