chore: change return to throw
This commit is contained in:
parent
5cd11cacdc
commit
52919d1799
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue