Fix resource server error message
This commit is contained in:
parent
815a4503df
commit
f7ea132b7c
1 changed files with 1 additions and 2 deletions
|
@ -33,8 +33,7 @@ async def get_resource(id: str, user: User) -> dict:
|
||||||
resp["sorry"] = f"I don't known how to give '{id}' but i know corporate bs."
|
resp["sorry"] = f"I don't known how to give '{id}' but i know corporate bs."
|
||||||
else:
|
else:
|
||||||
resp["sorry"] = (
|
resp["sorry"] = (
|
||||||
f"I don't serve the ressource {id} to you because"
|
f"I don't serve the ressource {id} to you because there is no scope {scope} in the access token,"
|
||||||
"there is no scope {scope} in the access token,"
|
|
||||||
)
|
)
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue