feat: Add dynamic master key by setting Parse Server option masterKey to a function (#9582)
This commit is contained in:
@@ -162,7 +162,7 @@ class ParseServer {
|
||||
}
|
||||
const pushController = await controllers.getPushController(this.config);
|
||||
await hooksController.load();
|
||||
const startupPromises = [];
|
||||
const startupPromises = [this.config.loadMasterKey?.()];
|
||||
if (schema) {
|
||||
startupPromises.push(new DefinedSchemas(schema, this.config).execute());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user