Skip to content

Commit

Permalink
add email to contact update (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynader committed May 26, 2022
1 parent 74bd5f3 commit 771d0be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/contact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export default class Contact {
id,
role,
externalId,
email,
phone,
name,
avatar,
Expand All @@ -87,6 +88,7 @@ export default class Contact {
const data: UpdateContactRequest = {
role,
external_id: externalId,
email,
phone,
name,
avatar,
Expand Down Expand Up @@ -232,6 +234,7 @@ type UpdateContactData = {
id: string;
role?: UpdateContactRequest['role'];
externalId?: UpdateContactRequest['external_id'];
email?: UpdateContactRequest['email'];
phone?: UpdateContactRequest['phone'];
name?: UpdateContactRequest['name'];
avatar?: UpdateContactRequest['avatar'];
Expand Down

0 comments on commit 771d0be

Please sign in to comment.