toi bi ngu
This commit is contained in:
@@ -155,7 +155,7 @@ export class CenterMentorSchema extends PothosSchema {
|
||||
}
|
||||
// build signature
|
||||
const token = this.jwtUtils.signTokenRS256(
|
||||
JSON.stringify({ centerId: center.id, email: args.email }),
|
||||
{ centerId: center.id, email: args.email },
|
||||
'1d',
|
||||
)
|
||||
// build invite url
|
||||
@@ -185,7 +185,7 @@ export class CenterMentorSchema extends PothosSchema {
|
||||
return this.prisma.$transaction(async () => {
|
||||
// sign token
|
||||
const token = this.jwtUtils.signTokenRS256(
|
||||
JSON.stringify({ centerId: args.centerId, email: args.email }),
|
||||
{ centerId: args.centerId, email: args.email },
|
||||
'1d',
|
||||
)
|
||||
// build invite url
|
||||
|
||||
Reference in New Issue
Block a user