The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remap sandbox connect webhooks to staging and hide invite members in staging
Pedro Ladeira83c953a96865
diff --git a/apps/web/app/(ee)/api/stripe/integration/webhook/utils/resolve-webhook-workspace.ts b/apps/web/app/(ee)/api/stripe/integration/webhook/utils/resolve-webhook-workspace.tsindex 07327a97cb..0907b55ef4 100644--- a/apps/web/app/(ee)/api/stripe/integration/webhook/utils/resolve-webhook-workspace.ts+++ b/apps/web/app/(ee)/api/stripe/integration/webhook/utils/resolve-webhook-workspace.ts@@ -29,7 +29,7 @@ export async function resolveWebhookWorkspace({return null;}- if (mode === "test" && workspace.stagingWorkspaceId) {+ if ((mode === "test" || mode === "sandbox") && workspace.stagingWorkspaceId) {const stagingWorkspace = await prisma.project.findUnique({where: {id: workspace.stagingWorkspaceId,diff --git a/apps/web/ui/layout/sidebar/workspace-dropdown.tsx b/apps/web/ui/layout/sidebar/workspace-dropdown.tsxindex 9b1be62098..ea58d96b81 100644--- a/apps/web/ui/layout/sidebar/workspace-dropdown.tsx+++ b/apps/web/ui/layout/sidebar/workspace-dropdown.tsx@@ -203,7 +203,7 @@ function WorkspaceList({<Gear className="size-4 text-neutral-800" /><span className="block truncate text-sm">Settings</span></Link>- {selected.slug && (+ {selected.slug && !isStagingEnvironment(current?.environment) && (<Linkhref={`/${selected.slug}/settings/people`}className="flex items-center justify-start gap-x-2 rounded-lg border border-neutral-200 px-2 py-1 text-neutral-700 outline-none transition-all duration-75 hover:bg-neutral-100/50 focus-visible:ring-2 focus-visible:ring-black/50 active:bg-neutral-200/80"