From 91086d76c5610138bc097b50ea779dd401762758 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 27 Jan 2023 13:32:47 +0200 Subject: [PATCH] fix get_error() --- files/helpers/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/get.py b/files/helpers/get.py index 78414acca..36ac8b560 100644 --- a/files/helpers/get.py +++ b/files/helpers/get.py @@ -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