Make MongoClient prefer secondaries

This commit is contained in:
Erki Aas 2022-10-11 02:24:16 +03:00
parent cfcd17d45e
commit 4b8591f51e

View File

@ -1,4 +1,4 @@
const { MongoClient } = require("mongodb");
const { MongoClient, MongoClientOptions } = require("mongodb");
const express = require('express');
/*============== VARIABLE DECLARATION ==============*/