Skip to content

Commit

Permalink
we have editted the undo button and work on the recurring event delet…
Browse files Browse the repository at this point in the history
… functions and w
  • Loading branch information
MImran2002 committed Jul 30, 2024
1 parent fcdfa16 commit 27f5179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/logic/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def deleteAllRecurringEvents(eventId):
if event.recurringId:
recurringId = event.recurringId
allRecurringEvents = list(Event.select(Event.id).where(Event.recurringId == recurringId).order_by(Event.startDate))
startId = allRecurringEvents[0].id
return deleteEventAndAllFollowing(startId)
eventId = allRecurringEvents[0].id
return deleteEventAndAllFollowing(eventId)



Expand Down

0 comments on commit 27f5179

Please sign in to comment.