mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix limits
This commit is contained in:
@@ -3,4 +3,8 @@ import mongoose from "mongoose";
|
||||
|
||||
export async function connectDatabase(connectionString: string) {
|
||||
await mongoose.connect(connectionString);
|
||||
}
|
||||
}
|
||||
|
||||
export async function disconnectDatabase() {
|
||||
await mongoose.disconnect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user