@lark-apaas/fullstack-cli 1.1.22-alpha.15 → 1.1.22-alpha.16
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1421,7 +1421,7 @@ async function fetchSyncedTables(appId, workspace) {
|
|
|
1421
1421
|
const response = await Promise.race([
|
|
1422
1422
|
client.get(
|
|
1423
1423
|
`/api/v1/dataloom/inner/app/${appId}/workspaces/${workspace}/listTableView`,
|
|
1424
|
-
{ params: { dbBranch: "
|
|
1424
|
+
{ params: { dbBranch: "main" }, headers: { "x-supaas-bizsource": "miaoda" } }
|
|
1425
1425
|
),
|
|
1426
1426
|
timeoutPromise
|
|
1427
1427
|
]);
|
|
@@ -2235,7 +2235,7 @@ async function run(options = {}) {
|
|
|
2235
2235
|
if (appId && workspace) {
|
|
2236
2236
|
if (fetchTasks[1]?.status === "fulfilled") {
|
|
2237
2237
|
syncedTableMap = fetchTasks[1].value;
|
|
2238
|
-
console.log(`[gen-db-schema] \u2713 Synced tables ready: ${syncedTableMap
|
|
2238
|
+
console.log(`[gen-db-schema] \u2713 Synced tables ready: ${syncedTableMap?.size ?? 0}`);
|
|
2239
2239
|
} else if (fetchTasks[1]?.status === "rejected") {
|
|
2240
2240
|
console.warn(
|
|
2241
2241
|
"[gen-db-schema] \u26A0 Failed to fetch synced tables (skipping):",
|