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..., )