fix/tidy auth+user routers

This commit is contained in:
SowinskiBraeden committed 2025-05-06 09:32:39 -07:00
1 parent 4050e95cc3
commit 1d8ec431b2
3 files changed
+1 -9

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ const connectMongo = async (mongoURI, databaseName) => {
* getCollection object to interact with MongoDB
* @param {MongoClient} dbo
* @param {string} collection
* @return {MongoClient.collection}
*/
const getCollection = async (dbo, collection) => {
return await dbo.collection(collection);