mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
set data is handled in patch method already
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user