Skip to content

Commit

Permalink
fix: query parameters on collection for DomainService
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Sep 7, 2023
1 parent 68b7650 commit ef6d18d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/services/domainservice.ts
Expand Up @@ -441,7 +441,7 @@ export class RESTDomainService<T extends RESTDomainServiceParameters = RESTDomai

model.Expose.restrict.query ||
this.addRoute(
`${prefix}`,
`${prefix}${this.parameters.queryMethod==="GET"?"{?q}":""}`,
[this.parameters.queryMethod],
injector(model.store(), "httpQuery", "QUERY", model.store().handleModel(model))
);
Expand Down

0 comments on commit ef6d18d

Please sign in to comment.