bdy 1.22.81 → 1.22.82-stage
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/distTs/package.json +1 -1
- package/distTs/src/api/client.js +1 -1
- package/distTs/src/texts.js +2 -6
- package/package.json +1 -1
package/distTs/package.json
CHANGED
package/distTs/src/api/client.js
CHANGED
|
@@ -483,7 +483,7 @@ class ApiClient {
|
|
|
483
483
|
if (project)
|
|
484
484
|
query.project_name = project;
|
|
485
485
|
return await this.request({
|
|
486
|
-
method: '
|
|
486
|
+
method: 'PUT',
|
|
487
487
|
path: `/workspaces/${encodeURIComponent(workspace)}/distributions/${encodeURIComponent(distributionId)}/routes/${encodeURIComponent(routeId)}`,
|
|
488
488
|
query,
|
|
489
489
|
body,
|
package/distTs/src/texts.js
CHANGED
|
@@ -1093,12 +1093,8 @@ exports.EXAMPLE_ROUTE_DELETE = `
|
|
|
1093
1093
|
### delete route (find by "bdy distro route ls distro-identifier")
|
|
1094
1094
|
bdy distro route rm distro-identifier route-id`;
|
|
1095
1095
|
exports.EXAMPLE_ROUTE_UPDATE = `
|
|
1096
|
-
### update
|
|
1097
|
-
bdy distro route update distro-identifier route-id --
|
|
1098
|
-
### update route subdomain & domain
|
|
1099
|
-
bdy distro route update distro-identifier route-id --subdomain=new --domain=test.com
|
|
1100
|
-
### update route target
|
|
1101
|
-
bdy distro route update distro-identifier route-id --target url=https://example.com`;
|
|
1096
|
+
### route update requires full param set (it's not partial)
|
|
1097
|
+
bdy distro route update distro-identifier route-id --subdomain=new --domain=test.com --target url=https://example.com`;
|
|
1102
1098
|
exports.EXAMPLE_ROUTE_LIST = `
|
|
1103
1099
|
### list routes
|
|
1104
1100
|
bdy distro route ls distro-identifier`;
|