Skip to content
Snippets Groups Projects
Unverified Commit 11157a3a authored by Andreas Nüßlein's avatar Andreas Nüßlein
Browse files

small issue

parent 8bc8e5e1
Branches
No related tags found
No related merge requests found
......@@ -132,7 +132,7 @@ class QuestionnaireAPIMixin(PermissionMixin, LogUserMixin, GenericAPIView):
"reviewers": item.get("reviewers"),
"created": item.get("created"),
"updated": item.get("updated"),
"labels": [x.slug for x in item.get("labels")],
"labels": [x.slug for x in item.get("labels", []) or []],
"coordinates": item.get("geom"),
"code": item.get("code"),
"edition": item.get("serializer_edition"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment