silgi 0.37.45 → 0.37.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.mjs +1 -1
- package/dist/core/index.mjs +2 -2
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -537,8 +537,8 @@ async function orchestrate(route, event, _input) {
|
|
|
537
537
|
const silgiURL = getUrlPrefix(route.route, route.method);
|
|
538
538
|
const input = _input || (route.service.routerRule?.readBeforeBody === false ? {} : await parseRequestInput(event.req));
|
|
539
539
|
const hookContext = { earlyReturnValue: false };
|
|
540
|
-
const routerParams = _input.path
|
|
541
|
-
const queryParams = _input.query
|
|
540
|
+
const routerParams = _input ? input.path : getRouterParams(event);
|
|
541
|
+
const queryParams = _input ? input.query : getQuery(event);
|
|
542
542
|
if (_input.path) {
|
|
543
543
|
delete _input.path;
|
|
544
544
|
}
|