1
0
Fork 0

fix: render account page without `authifier` perm

dufisgsd
Lea 2023-08-09 20:19:28 +02:00
parent 3104c57db7
commit 0cbe4933f8
Signed by: lea
GPG Key ID: 1BAFFE8347019C42
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import { fetchAuthifierEmailClassification } from "@/lib/db";
export async function EmailClassificationCard({ email }: { email: string }) {
const provider = email.split("@").pop() ?? "";
const providerInfo = await fetchAuthifierEmailClassification(provider);
const providerInfo = await fetchAuthifierEmailClassification(provider).catch(() => null);
if (!providerInfo) return null;
return (