fix: wrong field name in request
This commit is contained in:
parent
1c53bbf4d9
commit
8a6d5806bc
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ def issue_edit_comment(request, project, issue, comment=None):
|
|||
def issue_delete_comment(request, project, issue, comment):
|
||||
|
||||
comment = get_object_or_404(Event,
|
||||
issue__project=project, issue__pk=issue, id=comment)
|
||||
issue__project=project, issue__id=issue, id=comment)
|
||||
|
||||
comment.delete()
|
||||
messages.success(request, 'Comment deleted successfully.')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue