Skip to content

Commit 47fff82

Browse files
committed
only pass total_method param if it was explicitly passed in
1 parent 359ad69 commit 47fff82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/endpoints/customers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class CustomersEndpoint extends CRUDExtend {
6161
limit,
6262
offset,
6363
filter,
64-
total_method: total_method ?? 'exact'
64+
...(total_method && { total_method })
6565
}),
6666
'GET',
6767
undefined,

0 commit comments

Comments
 (0)