From 470f272183196c63855dd4d5a442304b58799cb3 Mon Sep 17 00:00:00 2001 From: Oumar Barry Date: Wed, 28 Jun 2023 20:15:30 +0000 Subject: [PATCH] chore: fix defineNitroPlugin patch (#9) --- src/runtime/server/plugins/mongoose.db.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/runtime/server/plugins/mongoose.db.ts b/src/runtime/server/plugins/mongoose.db.ts index b5f1187..895f6d3 100644 --- a/src/runtime/server/plugins/mongoose.db.ts +++ b/src/runtime/server/plugins/mongoose.db.ts @@ -1,15 +1,5 @@ -/** - * Due to an upstream bug in Nuxt 3 we need to stub the plugin here, track:https://github.com/nuxt/nuxt/issues/18556 - * */ -import type { NitroApp } from 'nitropack' import { defineMongooseConnection } from '../services/mongoose' -type NitroAppPlugin = (nitro: NitroApp) => void - -function defineNitroPlugin(def: NitroAppPlugin): NitroAppPlugin { - return def -} - export default defineNitroPlugin(() => { defineMongooseConnection() })