minor fix

This commit is contained in:
2025-07-29 18:41:20 +09:00
parent e8094c6e75
commit 3dcc69a49a

View File

@@ -19,7 +19,7 @@ class WorkoutRepository:
return workout
def delete_workout(self, workout_id: int) -> bool:
workout = self.get_by_id(workout_id)
workout = self.get_workout_by_id(workout_id)
if workout:
db.session.delete(workout)
db.session.commit()