Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

curl_param_value_generators: Fix typo in PATCH /users/{email} key.

Anders Kaseorg6d8c04ccf3a7
diff --git a/zerver/openapi/curl_param_value_generators.py b/zerver/openapi/curl_param_value_generators.py
index 64cc647cab0..d70f0a1b524 100644
--- a/zerver/openapi/curl_param_value_generators.py
+++ b/zerver/openapi/curl_param_value_generators.py
@@ -262,7 +262,7 @@ def create_user() -> dict[str, object]:
}
-@openapi_param_value_generator(["/users/{email]:patch", "/users/{user_id}:patch"])
+@openapi_param_value_generator(["/users/{email}:patch", "/users/{user_id}:patch"])
def new_email_value() -> dict[str, object]:
count = 0
exists = True