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