chat wip
This commit is contained in:
@@ -19,7 +19,7 @@ const plugin: FastifyPluginAsyncTypebox = async (fastify) => {
|
||||
},
|
||||
async (req, reply) => {
|
||||
const user = await fastify.prisma.user.findFirst({
|
||||
where: { username: req.query.username },
|
||||
where: { username: req.query.username, id: req.query.id },
|
||||
select: {
|
||||
id: true,
|
||||
username: true,
|
||||
|
||||
Reference in New Issue
Block a user