Skip to content

Commit c1ae5d0

Browse files
Merge pull request #147 from TakayukiHoshi1984/bugfix_phone_set_error
不具合修正: Phone プロファイルのモード設定で非サポートエラーが返る
2 parents 1bc0345 + db4d356 commit c1ae5d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • dConnectJavascriptApp/js/profile

dConnectJavascriptApp/js/profile/phone.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,12 +267,12 @@ function doPhoneCall(serviceId) {
267267
function doPhoneSet(serviceId) {
268268
let modeValue = $('#mode').val();
269269
body = 'mode=' + modeValue;
270-
sdk.post({
270+
sdk.put({
271271
profile: 'phone',
272272
attribute: 'set',
273273
params: {
274274
serviceId: serviceId,
275-
mode: mode
275+
mode: modeValue
276276
}
277277
}).then(json => {
278278
if (DEBUG) {

0 commit comments

Comments
 (0)