refactor
All checks were successful
Deploy / deploy (push) Successful in 40s

This commit is contained in:
2025-12-26 01:13:21 +06:00
parent 7ed23df3e9
commit 2aca9bca08

View File

@@ -63,7 +63,7 @@ export default function (fastify: FastifyInstance) {
const input = schema.parse(req.body) const input = schema.parse(req.body)
const updatedUser = prisma.user.update({ const updatedUser = prisma.user.update({
where: { userId: req.user.id }, where: { id: req.user.id },
data: { data: {
displayName: input.displayName, displayName: input.displayName,
}, },