change testoutput format
This commit is contained in:
2
auth.py
2
auth.py
@ -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)
|
||||
}
|
||||
|
||||
|
@ -43,4 +43,4 @@ components:
|
||||
message:
|
||||
type: string
|
||||
details:
|
||||
type: object
|
||||
type: string
|
||||
|
Reference in New Issue
Block a user