@wtfalch/foundry 0.52.0 → 0.52.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 +3 -1
- package/package.json +1 -1
package/dist/plan/executor.js
CHANGED
|
@@ -1092,7 +1092,9 @@ export class FoundryStepExecutor {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
async execute(action, context) {
|
|
1094
1094
|
const { org } = context;
|
|
1095
|
-
|
|
1095
|
+
// The Worker app database uses only platform ports, and its backup needs the files host's
|
|
1096
|
+
// bucket and key ports, which the scoped copy drops with `ownServices` (foundry#878).
|
|
1097
|
+
if (ownsServices(org) && !action.kind.startsWith('own-') && action.kind !== 'worker-app-db') {
|
|
1096
1098
|
return this.executeScoped(action, context);
|
|
1097
1099
|
}
|
|
1098
1100
|
return this.run(action, context);
|