@yoamigo.com/cli 0.1.14 → 0.1.15
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/dist/index.js +4 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -301,7 +301,7 @@ var deployCommand = new Command4("deploy").description("Upload template to YoAmi
|
|
|
301
301
|
"Content-Type": "application/json",
|
|
302
302
|
"X-API-Key": credentials.apiKey
|
|
303
303
|
},
|
|
304
|
-
body: JSON.stringify(
|
|
304
|
+
body: JSON.stringify(templateBody)
|
|
305
305
|
});
|
|
306
306
|
} catch (fetchError) {
|
|
307
307
|
if (verbose) {
|
|
@@ -355,11 +355,9 @@ Response body: ${errorText}`));
|
|
|
355
355
|
"X-API-Key": credentials.apiKey
|
|
356
356
|
},
|
|
357
357
|
body: JSON.stringify({
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
content
|
|
362
|
-
}
|
|
358
|
+
templateId,
|
|
359
|
+
path: relativePath,
|
|
360
|
+
content
|
|
363
361
|
})
|
|
364
362
|
});
|
|
365
363
|
if (!uploadResponse.ok) {
|