mozhost-cli 2.2.0 → 2.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mozhost-cli",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Command-line interface for MozHost container platform",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/utils/api.js CHANGED
@@ -201,9 +201,7 @@ class ApiClient {
201
201
  return response.data;
202
202
  }
203
203
 
204
- }
205
-
206
- // Domains
204
+ // Domains
207
205
  async listDomains() {
208
206
  const client = await this.getClient();
209
207
  const response = await client.get('/api/domains');
@@ -233,5 +231,6 @@ class ApiClient {
233
231
  const response = await client.delete(`/api/domains/${domainId}`);
234
232
  return response.data;
235
233
  }
234
+ }
236
235
 
237
236
  module.exports = new ApiClient();
File without changes