providers/oauth2: fix expires_in not being an int
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3aa9fb1e20
commit
e5e6c33b2d
|
@ -76,7 +76,7 @@ class DeviceView(View):
|
|||
}
|
||||
),
|
||||
"user_code": token.user_code,
|
||||
"expires_in": until.total_seconds(),
|
||||
"expires_in": int(until.total_seconds()),
|
||||
"interval": 5,
|
||||
}
|
||||
)
|
||||
|
|
Reference in New Issue