First prisma integration step
This commit is contained in:
parent
6918729c45
commit
0507309ab1
21 changed files with 645 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue