The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
update the logic
Kiran K9b0c3ff0a532
diff --git a/apps/web/app/api/route.ts b/apps/web/app/api/route.tsindex 9aeac98b30..d0b9285181 100644--- a/apps/web/app/api/route.ts+++ b/apps/web/app/api/route.ts@@ -19,23 +19,23 @@ export function GET() {const pathItem = document.paths[path];if (pathItem.get) {- pathItem?.get?.security?.push({});+ pathItem.get.security = [{ token: [] }, {}];}if (pathItem.post) {- pathItem?.post?.security?.push({});+ pathItem.post.security = [{ token: [] }, {}];}if (pathItem.put) {- pathItem?.put?.security?.push({});+ pathItem.put.security = [{ token: [] }, {}];}if (pathItem.delete) {- pathItem?.delete?.security?.push({});+ pathItem.delete.security = [{ token: [] }, {}];}if (pathItem.patch) {- pathItem?.patch?.security?.push({});+ pathItem.patch.security = [{ token: [] }, {}];}}