mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
✨
This commit is contained in:
parent
a2d39de332
commit
29a6218ab4
@ -156,7 +156,7 @@ async function init(): Promise<InitResult> {
|
||||
// Try to connect to MongoDB
|
||||
let mongoDBLogger = new Logger('MongoDB');
|
||||
try {
|
||||
const db = await initdb(config);
|
||||
const db = await initdb();
|
||||
mongoDBLogger.info('Successfully connected');
|
||||
db.close();
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user