Skip to content

Commit

Permalink
Removed unnecessary SetLastUpdateID call
Browse files Browse the repository at this point in the history
  • Loading branch information
k-karuna committed Sep 10, 2024
1 parent 5ded1af commit 038b216
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/storage/postgres/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ func setTokenMetadataLastUpdateID(ctx context.Context, conn *database.Bun) error
Scan(ctx)

if errors.Is(err, sql.ErrNoRows) {
models.SetLastUpdateID(0)
return nil
}
if err != nil {
Expand Down

0 comments on commit 038b216

Please sign in to comment.