Skip to content

Commit

Permalink
clients/web: fix discount query not filtering on organization
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Feb 20, 2025
1 parent bdc2446 commit 068a448
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clients/apps/web/src/hooks/queries/discounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const useDiscounts = (
queryFn: () =>
unwrap(
api.GET('/v1/discounts/', {
query: { organization_id: organizationId, ...(parameters || {}) },
params: {
query: { organization_id: organizationId, ...(parameters || {}) },
},
}),
),
retry: defaultRetry,
Expand Down

0 comments on commit 068a448

Please sign in to comment.