From c516d938e27791be58b7084bc29ebf4d607f11a6 Mon Sep 17 00:00:00 2001 From: wregulski Date: Thu, 1 Feb 2024 12:02:01 +0100 Subject: [PATCH] fix: update field name in sync_tx_repo --- sync_tx_repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync_tx_repository.go b/sync_tx_repository.go index ecb584e3..42127bc1 100644 --- a/sync_tx_repository.go +++ b/sync_tx_repository.go @@ -35,7 +35,7 @@ func GetSyncTransactionByTxID(ctx context.Context, txID string, opts ...ModelOps // Get the records by status txs, err := _getSyncTransactionsByConditions(ctx, map[string]interface{}{ - txID: txID, + idField: txID, }, nil, opts..., )