@xano/cli 0.0.22 → 0.0.24
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.
|
@@ -79,7 +79,7 @@ Pulled 58 documents to ./backup
|
|
|
79
79
|
records: flags.records.toString(),
|
|
80
80
|
});
|
|
81
81
|
// Construct the API URL
|
|
82
|
-
const apiUrl = `${profile.instance_origin}/api:meta/
|
|
82
|
+
const apiUrl = `${profile.instance_origin}/api:meta/workspace/${workspaceId}/multidoc?${queryParams.toString()}`;
|
|
83
83
|
// Fetch multidoc from the API
|
|
84
84
|
let responseText;
|
|
85
85
|
try {
|
|
@@ -89,7 +89,7 @@ Pushed 58 documents from ./backup
|
|
|
89
89
|
}
|
|
90
90
|
const multidoc = documents.join('\n---\n');
|
|
91
91
|
// Construct the API URL
|
|
92
|
-
const apiUrl = `${profile.instance_origin}/api:meta/
|
|
92
|
+
const apiUrl = `${profile.instance_origin}/api:meta/workspace/${workspaceId}/multidoc`;
|
|
93
93
|
// POST the multidoc to the API
|
|
94
94
|
try {
|
|
95
95
|
const response = await fetch(apiUrl, {
|