Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
registration: Fix invalid json response.
Zixuan James Li199d89d76111
diff --git a/zerver/views/development/registration.py b/zerver/views/development/registration.pyindex c9d7ff59533..e9951ee47b5 100644--- a/zerver/views/development/registration.py+++ b/zerver/views/development/registration.py@@ -14,9 +14,9 @@ from zerver.views.auth import create_preregistration_userfrom zerver.views.registration import accounts_register-# This is used only by the Puppeteer test in 01-realm-creation.js.+# This is used only by the Puppeteer test in realm-creation.ts.def confirmation_key(request: HttpRequest) -> HttpResponse:- return json_success(request, data=request.session.get("confirmation_key"))+ return json_success(request, data=request.session["confirmation_key"])def modify_postdata(request: HttpRequest, **kwargs: Any) -> None: