From 038b216276487e71e74d848ee1d4e539b9e2ef08 Mon Sep 17 00:00:00 2001 From: Konst Date: Tue, 10 Sep 2024 17:15:14 +0300 Subject: [PATCH] Removed unnecessary SetLastUpdateID call --- internal/storage/postgres/core.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/storage/postgres/core.go b/internal/storage/postgres/core.go index f63a6da..416aad5 100644 --- a/internal/storage/postgres/core.go +++ b/internal/storage/postgres/core.go @@ -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 {