push code len ne
This commit is contained in:
@@ -267,7 +267,8 @@ export class CenterMentorSchema extends PothosSchema {
|
||||
notedByUserId: ctx.me.id,
|
||||
},
|
||||
});
|
||||
const updatedUser = await prisma.user.update({
|
||||
// update user role
|
||||
await prisma.user.update({
|
||||
where: args.where,
|
||||
data: {
|
||||
role: 'CENTER_MENTOR',
|
||||
|
||||
Reference in New Issue
Block a user