1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

fix(?): await the registers

This commit is contained in:
Jayvin Hernandez 2025-02-02 23:53:42 -08:00
parent 3b24ed737b
commit 0a520d60da
No known key found for this signature in database
GPG key ID: 97C2E533F17AF0EB

View file

@ -46,7 +46,7 @@ async function start() {
logger.debug('Starting server');
// plugins
server
await server
.register(loggerPlugin)
.register(configPlugin, config)
.register(datasourcePlugin, datasource)
@ -61,7 +61,7 @@ async function start() {
.register(allPlugin);
// decorators
server
await server
.register(notFound)
.register(postUrlDecorator)
.register(postFileDecorator)