diff --git a/app/(sharing)/[token]/token.ts b/app/(sharing)/[token]/token.ts index 6175c33..c023439 100644 --- a/app/(sharing)/[token]/token.ts +++ b/app/(sharing)/[token]/token.ts @@ -10,6 +10,7 @@ export async function generateShareToken(id: number): Promise<{ token?: string; id?: string; error?: string; +}> { const { user } = await getAuth(); if (!user || !user.id || typeof user.id !== "string") {