Skip to content

Commit 67ada9a

Browse files
committed
fix query builder
1 parent 4e38ed2 commit 67ada9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/api/v2/controllers_transactions_list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func TestTransactionsList(t *testing.T) {
155155
Order: pointer.For(bunpaginate.Order(bunpaginate.OrderDesc)),
156156
Options: storagecommon.ResourceQuery[any]{
157157
PIT: &now,
158-
Builder: query.Lt("EUR", 20),
158+
Builder: query.Lt("amount[EUR]", 20.0),
159159
Expand: make([]string, 0),
160160
},
161161
},

0 commit comments

Comments
 (0)