Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/app/(ee)/api/stripe/integration/webhook/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,17 +144,17 @@ export const POST = withAxiom(async (req: Request) => {
!result.response.startsWith("Workspace not found") &&
event.account
) {
const workspace = await prisma.project.findUnique({
const stripeWebhookWorkspace = await prisma.project.findUnique({
where: {
stripeConnectId: event.account,
},
select: {
id: true,
},
});
if (workspace) {
if (stripeWebhookWorkspace) {
// if workspace exists, we set the workspace ID
result.workspaceId = workspace.id;
result.workspaceId = stripeWebhookWorkspace.id;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ import { CopyButton, StatusBadge, TimestampTooltip } from "@dub/ui";
import { ChevronRight, StackY3 } from "@dub/ui/icons";
import { fetcher, formatDateTime } from "@dub/utils";
import Link from "next/link";
import { useParams } from "next/navigation";
import { useEffect, useState } from "react";
import type { HighlighterCore } from "shiki";
import useSWR from "swr";

export function LogDetailPageClient({ logId }: { logId: string }) {
export function LogDetailPageClient() {
const { logId } = useParams();
const { id: workspaceId, slug } = useWorkspace();

const {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { LogDetailPageClient } from "./page-client";

export default async function LogDetailPage(props: {
params: Promise<{ logId: string }>;
}) {
const params = await props.params;

return <LogDetailPageClient logId={params.logId} />;
export default function LogDetailPage() {
return <LogDetailPageClient />;
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { PageContent } from "@/ui/layout/page-content";
import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";
import { LogsPageClient } from "./page-client";
import { LogsTable } from "@/ui/logs/logs-table";

export default function LogsPage() {
return (
Expand All @@ -12,7 +12,7 @@ export default function LogsPage() {
}}
>
<PageWidthWrapper>
<LogsPageClient />
<LogsTable />
</PageWidthWrapper>
</PageContent>
);
Expand Down
3 changes: 0 additions & 3 deletions apps/web/lib/auth/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,6 @@ export const authOptions: NextAuthOptions = {
},
callbacks: {
signIn: async ({ user, account, profile }) => {
console.log({ user, account, profile });

if (!user.email || (await isBlacklistedEmail(user.email))) {
return false;
}
Expand Down Expand Up @@ -560,7 +558,6 @@ export const authOptions: NextAuthOptions = {
},
events: {
async signIn(message) {
console.log("signIn", message);
const email = message.user.email as string;
const user = await prisma.user.findUnique({
where: { email },
Expand Down
169 changes: 0 additions & 169 deletions apps/web/scripts/customers/framer/1-process-framer-combined.ts

This file was deleted.

68 changes: 0 additions & 68 deletions apps/web/scripts/customers/framer/2-sort-lead-events-by-date.ts

This file was deleted.

Loading
Loading