1
0

add setting to disable proxy account (resolves #766)

This commit is contained in:
Hazelnoot
2025-05-01 12:07:38 -04:00
parent b124c39ed2
commit 8dce293dff
9 changed files with 68 additions and 5 deletions
@@ -210,6 +210,10 @@ export const paramDef = {
enum: instanceUnsignedFetchOptions,
nullable: false,
},
enableProxyAccount: {
type: 'boolean',
nullable: false,
},
},
required: [],
} as const;
@@ -758,6 +762,10 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
set.allowUnsignedFetch = ps.allowUnsignedFetch;
}
if (ps.enableProxyAccount !== undefined) {
set.enableProxyAccount = ps.enableProxyAccount;
}
const before = await this.metaService.fetch(true);
await this.metaService.update(set);