(
req: GetServerSidePropsContext['req'] | NextApiRequest
)
| 57 | } |
| 58 | |
| 59 | static async tokenRaw( |
| 60 | req: GetServerSidePropsContext['req'] | NextApiRequest |
| 61 | ): Promise<string | null> { |
| 62 | return getRawTokenFromRequest(req); |
| 63 | } |
| 64 | |
| 65 | static async canAuthAccessChannel(authId: string, channelId: string) { |
| 66 | return await prisma.auths.findFirst({ |
no test coverage detected