mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-19 12:19:16 +00:00
improvement: error handling on contact creation
This commit is contained in:
@@ -28,8 +28,6 @@ const CreateContactService = async ({
|
||||
throw new AppError("A contact with this number already exists.");
|
||||
}
|
||||
|
||||
console.log("extra", extraInfo);
|
||||
|
||||
const contact = await Contact.create(
|
||||
{
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user