providers/oauth2: fix expires_in not being an int

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-10-11 14:25:30 +03:00
parent 3aa9fb1e20
commit e5e6c33b2d
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}
)