We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1bc0345 + db4d356 commit c1ae5d0Copy full SHA for c1ae5d0
1 file changed
dConnectJavascriptApp/js/profile/phone.js
@@ -267,12 +267,12 @@ function doPhoneCall(serviceId) {
267
function doPhoneSet(serviceId) {
268
let modeValue = $('#mode').val();
269
body = 'mode=' + modeValue;
270
- sdk.post({
+ sdk.put({
271
profile: 'phone',
272
attribute: 'set',
273
params: {
274
serviceId: serviceId,
275
- mode: mode
+ mode: modeValue
276
}
277
}).then(json => {
278
if (DEBUG) {
0 commit comments