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 +1 -1
- package/src/utils/api.js +2 -3
- package/src/utils/response, +0 -0
package/package.json
CHANGED
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
|