fix: return 200 status code (#15134)
* fix: return 200 status code * chore: undo padding in transcribe --------- Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
0b9133c2cf
commit
96bf81ce8a
2 files changed
+5
-3
No files matched your search
@@ -144,12 +144,14 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
|
||||
if (!bookingReference || !bookingReference.bookingId) {
|
||||
log.error(
|
||||
"bookingReference:",
|
||||
"bookingReference not found error:",
|
||||
safeStringify({
|
||||
bookingReference,
|
||||
room_name,
|
||||
recording_id,
|
||||
})
|
||||
);
|
||||
return res.status(404).send({ message: "Booking reference not found" });
|
||||
return res.status(200).send({ message: "Booking reference not found" });
|
||||
}
|
||||
|
||||
const booking = await prisma.booking.findUniqueOrThrow({
|
||||
|
||||
Reference in new issue
Block a user