@wazo/sdk
Advanced tools
Comparing version 0.10.1 to 0.10.2
{ | ||
"name": "@wazo/sdk", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Wazo's JavaScript Software Development Kit.", | ||
@@ -5,0 +5,0 @@ "main": "dist/wazo-sdk.js", |
@@ -42,3 +42,3 @@ /* @flow */ | ||
from_mobile: fromMobile, | ||
extension, | ||
extension | ||
}; | ||
@@ -45,0 +45,0 @@ |
@@ -36,3 +36,3 @@ /* @flow */ | ||
editContact(token: Token, contact: Contact): Promise<Contact> { | ||
return client.put(`${baseUrl}/personal/${contact.sourceId || ''}`, getContactPayload(contact), token); | ||
return client.put(`${baseUrl}/personal/${contact.sourceId || contact.id || ''}`, getContactPayload(contact), token); | ||
}, | ||
@@ -39,0 +39,0 @@ |
Sorry, the diff of this file is too big to display
1016628