mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-28 01:43:46 +00:00
Change token data to expiration
This commit is contained in:
parent
6b777754e5
commit
7f6126432b
1 changed files with 1 additions and 1 deletions
|
@ -331,5 +331,5 @@ class ObtainExpiringAuthToken(ObtainAuthToken):
|
|||
|
||||
return Response({
|
||||
'token': token.key,
|
||||
'expiration_date': token.created + token_duration
|
||||
'expiration': token.created + token_duration
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue