feat: Upgrade to @parse/push-adapter 6.4.0 (#9182)

This commit is contained in:
Diamond Lewis
2024-07-08 15:23:57 -05:00
committed by GitHub
parent e7199e8d07
commit ef1634bf1f
6 changed files with 203 additions and 234 deletions

View File

@@ -160,6 +160,7 @@ class ParseServer {
throw e;
}
}
const pushController = await controllers.getPushController(this.config);
await hooksController.load();
const startupPromises = [];
if (schema) {
@@ -196,6 +197,7 @@ class ParseServer {
new CheckRunner(security).run();
}
this.config.state = 'ok';
this.config = { ...this.config, ...pushController };
Config.put(this.config);
return this;
} catch (error) {