Skip to content

Commit

Permalink
Update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
muremwa authored Dec 19, 2022
1 parent faba5d6 commit edcb93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def reply_url(self):

@property
def action_url(self):
return reverse('api:comment-actions', kwargs={'pk': str(self.pk)})
return reverse('api:comment-actions-v2', kwargs={'pk': str(self.pk)})

def __str__(self):
return "comment by {} on {}".format(self.user, self.note)
Expand Down

0 comments on commit edcb93d

Please # to comment.