cloudron 4.13.0 → 4.13.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/actions.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "4.13.0",
3
+ "version": "4.13.1",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "async": "^3.2.3",
21
21
  "cloudron-manifestformat": "^5.14.0",
22
- "commander": "^8.3.0",
22
+ "commander": "^6.1.0",
23
23
  "debug": "^4.3.3",
24
24
  "delay": "^5.0.0",
25
25
  "easy-table": "^1.2.0",
package/src/actions.js CHANGED
@@ -733,7 +733,8 @@ async function debug(cmd, options) {
733
733
  console.log('\n');
734
734
  console.log(options.limitMemory ? 'Limiting memory' : 'Setting unlimited memory');
735
735
 
736
- const response2 = await createRequest('POST', `/api/v1/apps/${app.id}/configure/memory_limit`, options);
736
+ const request2 = createRequest('POST', `/api/v1/apps/${app.id}/configure/memory_limit`, options);
737
+ const response2 = await request2.send({ memoryLimit });
737
738
  if (response2.statusCode !== 202) return exit(`Failed to set memory limit: ${requestError(response2)}`);
738
739
 
739
740
  await waitForTask(response2.body.taskId, options);