Fix usage of eventlog.add

This commit is contained in:
Girish Ramakrishnan
2021-06-03 11:42:32 -07:00
parent 2c1bedd38a
commit c90a9e43cf
5 changed files with 21 additions and 24 deletions

View File

@@ -373,7 +373,7 @@ function start(callback) {
blobs.initSecrets,
cloudron.initialize,
gHttpServer.listen.bind(gHttpServer, constants.PORT, '127.0.0.1'),
eventlog.add.bind(null, eventlog.ACTION_START, { userId: null, username: 'boot' }, { version: constants.VERSION })
async () => eventlog.add(eventlog.ACTION_START, { userId: null, username: 'boot' }, { version: constants.VERSION })
], callback);
}