First prisma integration step

This commit is contained in:
aronmal 2023-02-04 00:29:06 +01:00
parent 6918729c45
commit 0507309ab1
Signed by: aronmal
GPG key ID: 816B7707426FC612
21 changed files with 645 additions and 1 deletions

View file

@ -1,5 +1,7 @@
import { Token } from "@prisma/client"
export default async function jwtVerifyCatch(
tokenType: 'refreshToken' | 'accessToken',
tokenType: Token['type'],
err: Error
) {
switch (err.message) {