Fix fetch_iri

This commit is contained in:
Thomas Sileo
2018-06-17 22:05:38 +02:00
parent 781ed8efe2
commit 986edbd35e
3 changed files with 10 additions and 2 deletions

View File

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