@frontstackdev/cli 0.0.0-canary-20250205185721 → 0.0.0-canary-20250206105453

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.
@@ -101,7 +101,7 @@ const client = {
101
101
  let endpoint: string = `${servers[0].url}${endpoints[blockName]}`;
102
102
 
103
103
  // If payload contains `key` replace '{key}' in the endpoint
104
- if('key' in blockParameters) {
104
+ if('key' in blockParameters && endpoint.includes('{key}')) {
105
105
  endpoint = endpoint.replace('{key}', (blockParameters as any).key)
106
106
  delete (blockParameters as any).key
107
107
  }
package/dist/version CHANGED
@@ -1 +1 @@
1
- 0.0.0-canary-20250205185721
1
+ 0.0.0-canary-20250206105453
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontstackdev/cli",
3
- "version": "0.0.0-canary-20250205185721",
3
+ "version": "0.0.0-canary-20250206105453",
4
4
  "description": "frontstack CLI for managing projects",
5
5
  "type": "module",
6
6
  "module": "dist/frontstack.mjs",