aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-13 16:09:33 +0200
committerGravatar ks129 <[email protected]>2020-12-13 16:09:33 +0200
commit9492cdeab6c966bedd9e96f050131aa751a13942 (patch)
treee3b1536617baae83686d46ac798e2141227cbac8
parentReturn only public fields (diff)
Move form creation to forms root POST
-rw-r--r--backend/routes/forms/new.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/routes/forms/new.py b/backend/routes/forms/new.py
index 6437a4a..0144074 100644
--- a/backend/routes/forms/new.py
+++ b/backend/routes/forms/new.py
@@ -16,7 +16,7 @@ class FormCreate(Route):
"""
name = "forms_create"
- path = "/new"
+ path = "/"
@requires(["authenticated", "admin"])
async def post(self, request: Request) -> JSONResponse: