Skip to content

Commit

Permalink
fix: return 200 status code (calcom#15134)
Browse files Browse the repository at this point in the history
* fix: return 200 status code

* chore: undo padding in transcribe

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
  • Loading branch information
Udit-takkar and PeerRich authored May 21, 2024
1 parent 0b9133c commit 96bf81c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/modules/videos/ai/ai-transcribe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const CalAiTranscribe = () => {
textShadow: "0 0 20px black, 0 0 20px black, 0 0 20px black",
}}
ref={transcriptRef}
className="max-h-full overflow-x-hidden overflow-y-scroll p-8 text-center text-white">
className="max-h-full overflow-x-hidden overflow-y-scroll p-2 text-center text-white">
{transcript
? transcript.split("\n").map((line, i) => (
<Fragment key={`transcript-${i}`}>
Expand Down
6 changes: 4 additions & 2 deletions apps/web/pages/api/recorded-daily-video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 96bf81c

Please sign in to comment.