@datapos/datapos-development 0.3.17 → 0.3.18
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/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -78,7 +78,7 @@ async function clearDirectory(directoryPath) {
|
|
|
78
78
|
|
|
79
79
|
// Operations - Send Deployment Notice
|
|
80
80
|
async function sendDeploymentNotice() {
|
|
81
|
-
const configJSON = await readJSONFile('
|
|
81
|
+
const configJSON = await readJSONFile('config.json');
|
|
82
82
|
const options = {
|
|
83
83
|
body: JSON.stringify(configJSON),
|
|
84
84
|
headers: { 'Content-Type': 'application/json' },
|
|
@@ -127,7 +127,7 @@ async function uploadDirectoryToR2(sourceDirectory, uploadDirectory) {
|
|
|
127
127
|
|
|
128
128
|
// Operations - Upload Module Configuration
|
|
129
129
|
async function uploadModuleConfig() {
|
|
130
|
-
const configJSON = await readJSONFile('
|
|
130
|
+
const configJSON = await readJSONFile('config.json');
|
|
131
131
|
const stateId = configJSON.id;
|
|
132
132
|
const options = {
|
|
133
133
|
body: JSON.stringify(configJSON),
|