chore: change return to throw

This commit is contained in:
Marie 2024-09-14 14:13:49 +02:00
parent 5cd11cacdc
commit 52919d1799
No known key found for this signature in database
GPG Key ID: 7ADF6C9CD9A28555
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export function confirmId(path?: string) {
},
closed: () => dispose(),
});
return new Error('User Account required for id verification');
throw new Error('User Account required for id verification');
}
if ($i && $i.idVerified) return;