Skip to content

Commit

Permalink
Fix comments not marked as private
Browse files Browse the repository at this point in the history
  • Loading branch information
cpina committed Nov 24, 2020
1 parent 0d99271 commit 0621aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SchemaCollaboration/comments/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def process_post_add_comment(request, context,
else:
person = Person.objects.get(user=request.user)

comment_form = CommentForm(request.POST, datapackage_id=datapackage.id, person=person)
comment_form = CommentForm(request.POST, datapackage_id=datapackage.id, person=person, allow_private=True)

if comment_form.is_valid():
comment_form.save()
Expand Down

0 comments on commit 0621aa7

Please sign in to comment.