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."
|
||||
else:
|
||||
resp["sorry"] = (
|
||||
f"I don't serve the ressource {id} to you because"
|
||||
"there is no scope {scope} in the access token,"
|
||||
f"I don't serve the ressource {id} to you because there is no scope {scope} in the access token,"
|
||||
)
|
||||
return resp
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue