routesync 1.0.24 → 1.0.25
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.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -9108,7 +9108,7 @@ var NextActionGenerator = class {
|
|
|
9108
9108
|
const ContractName = `${TitleCaseGroup}${TitleCaseAction}Contract`;
|
|
9109
9109
|
const hasBody = route.schema && route.schema.rules && Object.keys(route.schema.rules).length > 0;
|
|
9110
9110
|
const hasQuery = route.method === "GET";
|
|
9111
|
-
const hasParams = route.path.includes("
|
|
9111
|
+
const hasParams = route.path.includes("{");
|
|
9112
9112
|
const count = (hasBody ? 1 : 0) + (hasQuery ? 1 : 0) + (hasParams ? 1 : 0);
|
|
9113
9113
|
let payloadParam = "";
|
|
9114
9114
|
const args = [];
|