Skip to content

Commit

Permalink
Merge pull request #809 from invoiceninja/develop
Browse files Browse the repository at this point in the history
Sync develop and main
  • Loading branch information
beganovich authored Jun 21, 2023
2 parents 38475cc + b57b29c commit 251ef49
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/common/queries/company-gateways.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ export function useCompanyGatewayQuery(params: Params) {
const { isAdmin } = useAdmin();

return useQuery(
route(`/api/v1/company_gateways/:id?${params.queryParams || ''}`, {
id: params.id,
}),
[
route('/api/v1/company_gateways/:id', {
id: params.id,
}),
params.queryParams,
],
() =>
request(
'GET',
Expand Down

0 comments on commit 251ef49

Please sign in to comment.