fix: Adjusts in createJid to sendContact

Adjusts in createJid to sendContact
This commit is contained in:
Davidson Gomes
2023-07-24 11:17:35 -03:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -399,7 +399,7 @@ export const contactMessageSchema: JSONSchema7 = {
email: { type: 'string' },
url: { type: 'string' },
},
required: ['fullName', 'wuid', 'phoneNumber'],
required: ['fullName', 'phoneNumber'],
...isNotEmpty('fullName'),
},
minItems: 1,