fix: remove useMongoose composable

This commit is contained in:
arashsheyda
2023-05-16 13:44:13 +03:00
parent cfc7ea59b8
commit d381058591
2 changed files with 0 additions and 19 deletions

View File

@ -1,8 +0,0 @@
import type { mongo } from 'mongoose'
import { connection } from 'mongoose'
export function useMongoose(): { db: mongo.Db } {
return {
db: connection?.db,
}
}