mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Fix not properly saving access_token_expiry value
This commit is contained in:
@@ -24,8 +24,9 @@ class W3DHub
|
|||||||
|
|
||||||
def to_json(env)
|
def to_json(env)
|
||||||
d = @data.dup
|
d = @data.dup
|
||||||
|
|
||||||
d[:avatar_uri] = @avatar_uri
|
d[:avatar_uri] = @avatar_uri
|
||||||
d[:access_token_expiry] = d[:access_token_expiry].to_i
|
d[:access_token_expiry] = @access_token_expiry.to_i
|
||||||
|
|
||||||
d.to_json(env)
|
d.to_json(env)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user