change testoutput format

This commit is contained in:
2021-06-17 19:05:35 +02:00
parent b30e587c34
commit dfc5c8421a
2 changed files with 2 additions and 2 deletions

View File

@ -23,6 +23,6 @@ def decodeToken(token):
def testToken(user, token_info):
return {
"message": f"You are user_id {user} and the provided token has been signed by this issuers. Fine.",
"details": token_info
"details": JSON.stringify(token_info)
}

View File

@ -43,4 +43,4 @@ components:
message:
type: string
details:
type: object
type: string