Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update workspace-edge.ts

Steven Tey88c00ce47fac
diff --git a/apps/web/lib/auth/workspace-edge.ts b/apps/web/lib/auth/workspace-edge.ts
index 72fd195535..b6c7372c3c 100644
--- a/apps/web/lib/auth/workspace-edge.ts
+++ b/apps/web/lib/auth/workspace-edge.ts
@@ -8,7 +8,6 @@ import { ratelimit } from "@/lib/upstash";
import { prismaEdge } from "@dub/prisma/edge";
import { API_DOMAIN, getSearchParams } from "@dub/utils";
import { waitUntil } from "@vercel/functions";
-import { StreamingTextResponse } from "ai";
import { getToken } from "next-auth/jwt";
import { AxiomRequest, withAxiom } from "next-axiom";
import { NextRequest } from "next/server";
@@ -39,7 +38,7 @@ interface WithWorkspaceEdgeHandler {
session: Session;
workspace: WorkspaceProps;
permissions: PermissionAction[];
- }): Promise<Response | StreamingTextResponse>;
+ }): Promise<Response>;
}
export const withWorkspaceEdge = (