aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-14 01:57:20 +0000
committerGravatar Joe Banks <[email protected]>2020-11-14 01:57:20 +0000
commit1f4cfac26924fe9884b431ec9f43073cb376ea44 (patch)
tree5848af4eb578167618781af6afe928c53eebc489 /backend
parentSearch for Discoverable forms using features instead of attribute (diff)
Do not force str form _id, it will be a str in prod
Diffstat (limited to 'backend')
-rw-r--r--backend/routes/forms/index.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/routes/forms/index.py b/backend/routes/forms/index.py
index e0590ae..2f27b52 100644
--- a/backend/routes/forms/index.py
+++ b/backend/routes/forms/index.py
@@ -19,7 +19,6 @@ class FormsList(Route):
forms = []
for form in request.state.db.forms.find():
- form["_id"] = str(form["_id"])
forms.append(form)
return JSONResponse(