MMMMMMMMMMMMMMMM types
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { IServer } from '~/types'
|
||||
import { PrismaClient } from '@prisma/client'
|
||||
const prisma = new PrismaClient()
|
||||
|
||||
@@ -21,7 +22,7 @@ export default defineEventHandler(async (event) => {
|
||||
participants: true,
|
||||
channels: true
|
||||
}
|
||||
})
|
||||
}) as IServer
|
||||
|
||||
if (!server) {
|
||||
event.node.res.statusCode = 404;
|
||||
|
||||
Reference in New Issue
Block a user