fix all the formatting

This commit is contained in:
Thomas Ruoff
2022-04-02 00:42:25 +02:00
parent 8e0648bf0f
commit 3c4f0efdc2
11 changed files with 79 additions and 59 deletions

View File

@@ -27,10 +27,10 @@ export default async function userHandler(
}
try {
const booking = await patchBooking(uuid, req.body);
const booking = await patchBooking(uuid, req.body)
res.status(200).json(booking)
} catch (error) {
console.error('failed patch booking', error);
console.error('failed patch booking', error)
res.status(400).end(`Failed to save booking: ${error.message}`)
}
break