set data is handled in patch method already

This commit is contained in:
Thomas Ruoff
2022-03-31 22:58:08 +02:00
parent 59aea7f8af
commit da6e698ff9

View File

@@ -29,7 +29,6 @@ export default async function userHandler(
break break
} }
booking.set(req.body)
try { try {
const booking = await patchBooking(uuid, req.body); const booking = await patchBooking(uuid, req.body);
res.status(200).json(booking) res.status(200).json(booking)