mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
fix: analytics type errors
This commit is contained in:
1 parent
f7e2b00358
commit
253564376d
26 files changed
+53
-322
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user