added comments

This commit is contained in:
Polaris
2024-07-23 17:35:01 -04:00
parent 44717ca3a9
commit 14202be355

View File

@ -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") {