fix: analytics type errors

This commit is contained in:
Justin Lin committed 2025-04-26 13:10:48 +08:00
1 parent f7e2b00358
commit 253564376d
26 files changed
+53 -322

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ export { Session, ISession } from './session.js'
export { Command, ICommand } from './command.js'
export { UserProfile, IUserProfile, IProgress } from './userProfile.js'
export default async function connectDB(uri: string) {
export async function connectDB(uri: string) {
const db = await mongoose.connect(uri)
return db.connection.getClient()
}