The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update route.tsx
Steven Teya74ac8e7065b
diff --git a/apps/web/app/api/qr/route.tsx b/apps/web/app/api/qr/route.tsxindex 153cfe5e98..f07b5d7e99 100644--- a/apps/web/app/api/qr/route.tsx+++ b/apps/web/app/api/qr/route.tsx@@ -18,7 +18,7 @@ export async function GET(req: NextRequest) {try {const params = getSearchParams(req.url);- let { url, logo, size, level, fgColor, bgColor, hideLogo, includeMargin } =+ let { url, logo, size, level, fgColor, bgColor, margin, hideLogo } =getQRCodeQuerySchema.parse(params);await ratelimitOrThrow(req, "qr");@@ -49,9 +49,9 @@ export async function GET(req: NextRequest) {value: url,size,level,- includeMargin,fgColor,bgColor,+ margin,...(logo? {imageSettings: {