Skip to content

Commit 8a62e3a

Browse files
style(site): fix biome lint and format errors blocking CI
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent f001247 commit 8a62e3a

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎apps/site/src/lib/google-calendar.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ async function syncPrivateShadowCalendarBlocks(opts: {
3939
"Private Calendar Block synced from alex@codingcat.dev",
4040
`Room: ${studioOrMeet}`,
4141
`Guest: ${opts.guestName} (${opts.company})`,
42-
...(opts.portalUrl
43-
? [`Guest Studio Portal: ${opts.portalUrl}`]
44-
: []),
42+
...(opts.portalUrl ? [`Guest Studio Portal: ${opts.portalUrl}`] : []),
4543
].join("\n"),
4644
location: studioOrMeet,
4745
status: "confirmed",

‎apps/site/src/pages/api/portal/notes.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ export const POST: APIRoute = async ({ request, url }) => {
851851
headline:
852852
chatMessage && noteType === "call_note"
853853
? `Call Notes & Next Steps for ${company} x CodingCat.dev`
854-
: `Alex Patterson Updated Your Shared Run-of-Show & Notes`,
854+
: "Alex Patterson Updated Your Shared Run-of-Show & Notes",
855855
introParagraph: chatMessage
856856
? `I just posted new notes${newAttachments.length > 0 ? " and shared files" : ""} in your CodingCat.dev Studio Portal: "${chatMessage.slice(0, 280)}${chatMessage.length > 280 ? "..." : ""}". You can reply, drop files into the chat, or edit the shared Run-of-Show directly in your portal below.`
857857
: "I just updated our shared Pre-Call Notes and 5-Part Run-of-Show outline in your CodingCat.dev Studio Portal. Take a look below and feel free to edit or leave a comment directly in the portal!",
@@ -913,7 +913,7 @@ export const POST: APIRoute = async ({ request, url }) => {
913913
? `${resolvedAuthorName} Posted a Note in the Studio Portal`
914914
: `${resolvedAuthorName} Updated the Shared Run-of-Show`,
915915
introParagraph: isFeedback
916-
? `${resolvedAuthorName} (${verifiedEmail || guestEmail}) just submitted feedback on the CodingCat.dev Booking & Studio Portal${feedbackRating ? ` (Rating: ${feedbackRating}/5)` : ""}${feedbackTopics.length > 0 ? ` [${feedbackTopics.join(", ")}]` : ""}${newAttachments.length > 0 ? ` with an annotated screen capture synced to Sanity Media Library` : ""}.`
916+
? `${resolvedAuthorName} (${verifiedEmail || guestEmail}) just submitted feedback on the CodingCat.dev Booking & Studio Portal${feedbackRating ? ` (Rating: ${feedbackRating}/5)` : ""}${feedbackTopics.length > 0 ? ` [${feedbackTopics.join(", ")}]` : ""}${newAttachments.length > 0 ? " with an annotated screen capture synced to Sanity Media Library" : ""}.`
917917
: chatMessage
918918
? `${resolvedAuthorName} (${verifiedEmail || guestEmail}) just posted a message${newAttachments.length > 0 ? ` and dropped ${newAttachments.length} attachment(s)` : ""} in the ${company} Studio Portal: "${chatMessage}".`
919919
: `${resolvedAuthorName} (${verifiedEmail || guestEmail}) just edited the shared Run-of-Show / Pre-Call Notes in the ${company} Studio Portal.`,

0 commit comments

Comments
 (0)