From cb036f651d3e6d2ff0463bc9aa0105ce6c96b874 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Wed, 20 May 2020 18:23:13 +0200 Subject: [PATCH] do not call lower() on signed_suffix --- app/api/views/new_custom_alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/views/new_custom_alias.py b/app/api/views/new_custom_alias.py index 9c3d555f..61408698 100644 --- a/app/api/views/new_custom_alias.py +++ b/app/api/views/new_custom_alias.py @@ -115,7 +115,7 @@ def new_custom_alias_v2(): return jsonify(error="request body cannot be empty"), 400 alias_prefix = data.get("alias_prefix", "").strip().lower() - signed_suffix = data.get("signed_suffix", "").strip().lower() + signed_suffix = data.get("signed_suffix", "").strip() note = data.get("note") alias_prefix = convert_to_id(alias_prefix)