db bump
This commit is contained in:
Submodule epess-database updated: 5aed178f12...3b4cc1941d
@@ -153,6 +153,21 @@ export class UserSchema extends PothosSchema {
|
||||
});
|
||||
},
|
||||
}),
|
||||
|
||||
// banUser: t.prismaField({
|
||||
// description: 'Ban a user.',
|
||||
// type: this.user(),
|
||||
// args: {
|
||||
// userId: t.arg({ type: 'String', required: true }),
|
||||
// },
|
||||
// resolve: async (query, root, args, ctx, info) => {
|
||||
// return await this.prisma.user.update({
|
||||
// ...query,
|
||||
// where: { id: args.userId },
|
||||
// data: { banned: true },
|
||||
// });
|
||||
// },
|
||||
// }),
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user