diff --git a/api/playback/progress.go b/api/playback/progress.go index c127632..73f6e6a 100644 --- a/api/playback/progress.go +++ b/api/playback/progress.go @@ -50,6 +50,10 @@ func (s *Service) SaveProgress(ctx context.Context, userID string, animeID int64 } } + if isCompleted { + return tx.Commit() + } + var durationSeconds sql.NullFloat64 if animeSeed != nil { durationSeconds = animeSeed.DurationSeconds