fix get_error()

master
Aevann 2023-01-27 13:32:47 +02:00
parent 57f029040d
commit 91086d76c5
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ def get_profile_picture(identifier:Union[int, str]) -> str:
def get_error():
if request.referrer and request.referrer.split('?')[0] == request.base_url:
return request.values.get("err")
return request.values.get("error")
else:
return None