From 14202be355906250a4d04e02ab5c426fa33c5bee Mon Sep 17 00:00:00 2001 From: Polaris Date: Tue, 23 Jul 2024 17:35:01 -0400 Subject: [PATCH] added comments --- app/(sharing)/[token]/token.ts | 1 + 1 file changed, 1 insertion(+) 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") {