Boost unit tests

This commit is contained in:
Mouse Reeve
2021-01-10 19:39:54 -08:00
parent 31aef46564
commit ee96c01cc1
2 changed files with 51 additions and 1 deletions

View File

@ -360,7 +360,7 @@ def handle_unfavorite(user, status):
if status.user.local:
models.Notification.objects.filter(
user=status.user, related_user=user,
status=status, notification_type='FAVORITE'
related_status=status, notification_type='FAVORITE'
).first().delete()