watchlist: only set updated_at when marking anime as completed

This commit is contained in:
2026-04-26 18:15:41 +02:00
parent 73c49f6649
commit 098b4a1fc0
3 changed files with 9 additions and 10 deletions

View File

@@ -71,6 +71,7 @@ func (s *Service) AddEntry(ctx context.Context, userID string, req AddRequest) e
Status: req.Status,
CurrentEpisode: sql.NullInt64{Int64: 0, Valid: false},
CurrentTimeSeconds: 0,
UpdatedAt: sql.NullTime{Valid: false},
})
if err != nil {
return fmt.Errorf("failed to update watchlist: %w", err)