@wtfalch/foundry 0.68.0 → 0.68.1
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/plan/executor.js +4 -4
- package/package.json +1 -1
package/dist/plan/executor.js
CHANGED
|
@@ -11782,14 +11782,14 @@ export function isNoChangesError(error) {
|
|
|
11782
11782
|
export async function allowPerAppLoginBaseUris(zitadel, instanceBaseUri) {
|
|
11783
11783
|
if (!zitadel.allowPerAppLoginBaseUri)
|
|
11784
11784
|
return;
|
|
11785
|
-
|
|
11786
|
-
if (!listOrgs || !listProjects) {
|
|
11785
|
+
// Called on the port, never pulled off it: a client class reads `this` in each method.
|
|
11786
|
+
if (!zitadel.listOrgs || !zitadel.listProjects) {
|
|
11787
11787
|
throw new Error('the ZITADEL port cannot list every organisation and project, so apps without a login base URI would fall back to the v1 login');
|
|
11788
11788
|
}
|
|
11789
|
-
for (const org of await listOrgs()) {
|
|
11789
|
+
for (const org of await zitadel.listOrgs()) {
|
|
11790
11790
|
if (org.state && org.state !== 'ORG_STATE_ACTIVE')
|
|
11791
11791
|
continue;
|
|
11792
|
-
for (const project of await listProjects(org.id)) {
|
|
11792
|
+
for (const project of await zitadel.listProjects(org.id)) {
|
|
11793
11793
|
if (project.state && project.state !== 'PROJECT_STATE_ACTIVE')
|
|
11794
11794
|
continue;
|
|
11795
11795
|
const listed = await zitadel.listApps(org.id, project.id);
|