From fbd5f28d54435e0f077a1fc418e0b14a52598cc6 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Mon, 24 Mar 2025 12:21:00 +0300 Subject: [PATCH] (temp): fix missing ID scan --- internal/syncer/syncer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/syncer/syncer.go b/internal/syncer/syncer.go index 98ad747..858083d 100644 --- a/internal/syncer/syncer.go +++ b/internal/syncer/syncer.go @@ -74,7 +74,7 @@ func (s *Syncer) Process(ctx context.Context) error { kvRows, err := pgx.CollectRows(rows, func(row pgx.CollectableRow) (KVRow, error) { var kvRow KVRow - err := row.Scan(&kvRow.Key, &kvRow.Value, &kvRow.Updated) + err := row.Scan(&kvRow.ID, &kvRow.Key, &kvRow.Value, &kvRow.Updated) return kvRow, err }) if err != nil {