Skip to content

Commit c966314

Browse files
author
Marco
committed
latest
1 parent 8ed53de commit c966314

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/log-viewer-webui/server/src/fastify-v2/plugins/app/socket/MongoSocketIoServer

components/log-viewer-webui/server/src/fastify-v2/plugins/app/socket/MongoSocketIoServer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class MongoSocketIoServer {
205205
: MongoWatcherCollection {
206206
let watcherCollection = this.#collections.get(collectionName);
207207
if ("undefined" === typeof watcherCollection) {
208-
watcherCollection = new MongoWatcherCollection(collectionName, this.#mongoDb, this.#logger);
208+
watcherCollection = new MongoWatcherCollection(collectionName, this.#logger, this.#mongoDb);
209209
this.#logger.debug(`Initialize Mongo watcher collection:${collectionName}.`);
210210
this.#collections.set(collectionName, watcherCollection);
211211
}

0 commit comments

Comments
 (0)