Bläddra i källkod

do not call lower() on signed_suffix

Son NK 5 år sedan
förälder
incheckning
cb036f651d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/api/views/new_custom_alias.py

+ 1 - 1
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)