diff --git a/app/(sharing)/[token]/token.ts b/app/(sharing)/[token]/token.ts index eb82cfb..6175c33 100644 --- a/app/(sharing)/[token]/token.ts +++ b/app/(sharing)/[token]/token.ts @@ -7,10 +7,9 @@ import { randomBytes } from "crypto"; import { redirect } from "next/navigation"; export async function generateShareToken(id: number): Promise<{ - token?: string; // share token - id?: string; // playlog id after the token - error?: string; // error -}> { + token?: string; + id?: string; + error?: string; const { user } = await getAuth(); if (!user || !user.id || typeof user.id !== "string") {