fix: error when click on "try again" on whatsapp connection

This commit is contained in:
canove
2021-01-14 18:05:16 -03:00
parent bc65d78268
commit b3255c6f42

View File

@@ -30,7 +30,8 @@ const UpdateWhatsAppService = async ({
whatsappId
}: Request): Promise<Response> => {
const schema = Yup.object().shape({
name: Yup.string().min(2).required(),
name: Yup.string().min(2),
status: Yup.string(),
isDefault: Yup.boolean()
});