Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: show LW ticket username as a string (#28307)

Alaister Youngec9fe476f027
diff --git a/apps/www/app/api-v2/ticket-og/route.tsx b/apps/www/app/api-v2/ticket-og/route.tsx
index 04bc1ca37d8..d4e890c1a6f 100644
--- a/apps/www/app/api-v2/ticket-og/route.tsx
+++ b/apps/www/app/api-v2/ticket-og/route.tsx
@@ -262,7 +262,7 @@ export async function GET(req: Request, res: Response) {
<span>&#40;</span>
<span style={{ color: STYLING_CONFIG.CODE_STRING }}>'username'</span>
<span tw="mr-3">,</span>
- <span style={{ color: STYLING_CONFIG.CODE_NUMBER }}>{username}</span>
+ <span style={{ color: STYLING_CONFIG.CODE_STRING }}>'{username}'</span>
<span>&#41;</span>
</span>
<span tw="pl-4">
diff --git a/apps/www/components/LaunchWeek/12/Ticket/Ticket.tsx b/apps/www/components/LaunchWeek/12/Ticket/Ticket.tsx
index e5a343ec16f..25e0ee46784 100644
--- a/apps/www/components/LaunchWeek/12/Ticket/Ticket.tsx
+++ b/apps/www/components/LaunchWeek/12/Ticket/Ticket.tsx
@@ -48,7 +48,7 @@ export default function Ticket() {
.from('tickets')
.select('*')
.eq('launch_week', 'lw12')
- .eq('username', ${username})
+ .eq('username', '${username}')
.single()
`