Skip to content

Commit

Permalink
fix access token
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Dec 4, 2023
1 parent a13ab4c commit 61ec6a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion livekit-api/livekit/api/access_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import datetime
import os
import jwt
from typing import List

DEFAULT_TTL = datetime.timedelta(hours=6)
DEFAULT_LEEWAY = datetime.timedelta(minutes=1)
Expand All @@ -43,7 +44,7 @@ class VideoGrants:
# TrackSource types that a participant may publish.
# When set, it supercedes CanPublish. Only sources explicitly set here can be
# published
can_publish_sources: list[str] = dataclasses.field(default_factory=list)
can_publish_sources: List[str] = dataclasses.field(default_factory=list)

# by default, a participant is not allowed to update its own metadata
can_update_own_metadata: bool = False
Expand Down

0 comments on commit 61ec6a0

Please sign in to comment.