Woops, wrong model. Fix #179.
This commit is contained in:
parent
5e6ff4e76f
commit
2eea0acf0e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue