Skip to content

Commit

Permalink
corrected else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Nov 28, 2023
1 parent 5475595 commit a0c6ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/serializer/dxcontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_allow_discussion_value(context, request, result):
(context, request), name="conversation_view"
).enabled()
else:
return False
result["allow_discussion"] = False


@implementer(ISerializeToJson)
Expand Down

0 comments on commit a0c6ff3

Please sign in to comment.