Woops, wrong model. Fix #179.

This commit is contained in:
Víðir Valberg Guðmundsson 2018-04-15 19:45:34 +02:00
parent 5e6ff4e76f
commit 2eea0acf0e

View file

@ -93,7 +93,7 @@ class ScheduleConsumer(JsonWebsocketConsumer):
user=user user=user
) )
favorite.delete() favorite.delete()
except EventInstance.DoesNotExist: except Favorite.DoesNotExist:
# We don't want to do anything. # We don't want to do anything.
return return