Now throwing errors

This commit is contained in:
2020-12-09 18:59:01 +01:00
parent af1ad482d4
commit 77b769446f
7 changed files with 7 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ export class AuthController {
try {
auth = await createAuth.toAuth();
} catch (error) {
return error;
throw error;
}
return auth
}