Fix resource server error message
Some checks failed
/ build (push) Failing after 15s
/ test (push) Successful in 5s

This commit is contained in:
phil 2025-01-31 11:43:11 +01:00
parent 815a4503df
commit f7ea132b7c

View file

@ -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