Skip to content

Commit

Permalink
Solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogober committed Jan 11, 2025
1 parent 64c6748 commit d0c1a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/movie_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ def update_movie_session(


def delete_movie_session_by_id(session_id: int) -> None:
MovieSession.objects.get(id=session_id).delete()
MovieSession.objects.filter(id=session_id).delete()

0 comments on commit d0c1a8d

Please sign in to comment.