Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Jul 17, 2023
1 parent af3dfe3 commit 93ff832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/restapi/serializer/dxcontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
WorkingCopyInfo = None


def get_allow_discussion_value(context, request, result):
def get_allow_discussion_value(context, request, result):
# This test is to handle the plone.app.discussion not being installed situation.
if "allow_discussion" in result:
# This test is to handle the plone.app.discussion not being installed situation.
result["allow_discussion"] = getMultiAdapter(
(context, request), name="conversation_view"
).enabled()
Expand Down

0 comments on commit 93ff832

Please sign in to comment.