Testing disconnect

pull/9078/head
zomars 2023-02-08 19:29:58 -07:00
parent 2248d7069f
commit 0389ebfed5
1 changed files with 1 additions and 0 deletions

View File

@ -37,4 +37,5 @@ export const customPrismaClient: NextMiddleware = async (req, res, next) => {
// We don't need the key from here and on. Prevents unrecognized key errors.
delete req.query.key;
await next();
await req.prisma.$disconnect();
};