@base44-preview/cli 0.0.55-pr.540.15797ab → 0.0.55-pr.540.69b8bca
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/cli/index.js +3 -3
- package/dist/cli/index.js.map +4 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -241843,8 +241843,8 @@ async function getAppUserToken() {
|
|
|
241843
241843
|
throw await ApiError.fromHttpError(error48, "exchanging platform token for app user token");
|
|
241844
241844
|
}
|
|
241845
241845
|
}
|
|
241846
|
-
async function getSiteUrl(
|
|
241847
|
-
const id =
|
|
241846
|
+
async function getSiteUrl() {
|
|
241847
|
+
const id = getAppContext().id;
|
|
241848
241848
|
let response;
|
|
241849
241849
|
try {
|
|
241850
241850
|
response = await base44Client.get(`api/apps/platform/${id}/published-url`);
|
|
@@ -261762,4 +261762,4 @@ export {
|
|
|
261762
261762
|
CLIExitError
|
|
261763
261763
|
};
|
|
261764
261764
|
|
|
261765
|
-
//# debugId=
|
|
261765
|
+
//# debugId=A648AA5C0FFA5F4264756E2164756E21
|