added email in vcard

This commit is contained in:
Davidson Gomes
2023-07-05 21:14:44 -03:00
parent 41f191902b
commit b7da8d2193
3 changed files with 17 additions and 5 deletions

View File

@@ -380,6 +380,7 @@ export const contactMessageSchema: JSONSchema7 = {
},
phoneNumber: { type: 'string', minLength: 10 },
organization: { type: 'string' },
email: { type: 'string' },
},
required: ['fullName', 'wuid', 'phoneNumber'],
...isNotEmpty('fullName'),