fix livekit compilation

This commit is contained in:
timurgordon
2025-01-23 00:59:02 +00:00
parent 885c4d9b32
commit 02128e69ba

View File

@@ -23,9 +23,9 @@ pub fn (client Client) new_access_token(options AccessTokenOptions) !AccessToken
api_key: client.api_key api_key: client.api_key
api_secret: client.api_secret api_secret: client.api_secret
identity: options.identity identity: options.identity
ttl: ttl ttl: options.ttl
grants: ClaimGrants{ grants: ClaimGrants{
exp: time.now().unix()+ttl exp: time.now().unix()+ options.ttl
iss: client.api_key iss: client.api_key
sub: options.name sub: options.name
name: options.name name: options.name