added comments
This commit is contained in:
@ -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") {
|
||||
|
Reference in New Issue
Block a user