refactor(#125): don't add the registry if the login already exists

This commit is contained in:
Mauricio Siu
2024-06-07 00:26:01 -06:00
parent 449a61e208
commit eea00d28cd
2 changed files with 23 additions and 16 deletions

View File

@@ -62,7 +62,7 @@ export const registryRouter = createTRPCRouter({
return true;
} catch (error) {
console.log("Error Registry:", error);
return error;
return false;
}
}),