This commit is contained in:
Thomas Sileo
2018-06-18 22:04:24 +02:00
parent 1338d99994
commit ef7a887146
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ JWT = JSONWebSignatureSerializer(JWT_SECRET)
def _admin_jwt_token() -> str:
return JWT.dumps(
return JWT.dumps( # type: ignore
{"me": "ADMIN", "ts": datetime.now().timestamp()}
).decode( # type: ignore
"utf-8"