chore: ensures onInit is called after initHTTP

This commit is contained in:
James
2023-01-19 16:06:50 -05:00
parent 6023559142
commit 6dc688cefd
4 changed files with 11 additions and 5 deletions

View File

@@ -34,8 +34,8 @@ const startDev = async () => {
fromName: 'Payload',
fromAddress: 'hello@payloadcms.com',
},
onInit: async (app) => {
app.logger.info('Payload Dev Server Initialized');
onInit: async () => {
payload.logger.info('Payload Dev Server Initialized');
},
});