@corva/create-app 0.50.0-1 → 0.50.0-2
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/lib/flows/lib/api.js
CHANGED
|
@@ -50,7 +50,9 @@ export class Api {
|
|
|
50
50
|
const app = data.find((app) => app.attributes.app_key === appKey);
|
|
51
51
|
|
|
52
52
|
if (!app) {
|
|
53
|
-
throw new Error(
|
|
53
|
+
throw new Error(
|
|
54
|
+
`App with key - ${appKey}, does not exist.\nThe key search is case-sensitive. You might need to update the app key in your app to exactly match the key.`,
|
|
55
|
+
);
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
return app;
|
|
@@ -9,7 +9,7 @@ export const PREPARE_DATA_TASK_STEP = {
|
|
|
9
9
|
throw new StepError('Command supports only "scheduler" or "stream" apps');
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
const app = await api.getAppByKey(manifest.manifest.application.key
|
|
12
|
+
const app = await api.getAppByKey(manifest.manifest.application.key);
|
|
13
13
|
|
|
14
14
|
return {
|
|
15
15
|
app,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const RELEASE_PREPARE_DATA_STEP = {
|
|
2
2
|
message: 'Preparing data...',
|
|
3
3
|
async fn({ api, manifest }) {
|
|
4
|
-
const app = await api.getAppByKey(manifest.manifest.application.key
|
|
4
|
+
const app = await api.getAppByKey(manifest.manifest.application.key);
|
|
5
5
|
|
|
6
6
|
return {
|
|
7
7
|
appId: app.id,
|
|
@@ -30,7 +30,7 @@ export const PREPARE_DATA_TASK_STEP = {
|
|
|
30
30
|
throw new StepError('Command stopped');
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
const app = await api.getAppByKey(manifest.manifest.application.key
|
|
33
|
+
const app = await api.getAppByKey(manifest.manifest.application.key);
|
|
34
34
|
const appDatasets = await api.getAppDatasetsOperationWrite(app.id);
|
|
35
35
|
const appDatasetsNames = appDatasets.map((dataset) => dataset.attributes.dataset_name);
|
|
36
36
|
|