Skip to content

Commit

Permalink
fix url API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
twocolors committed Aug 26, 2020
1 parent a95f0f8 commit 58e6c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nodes/cloud-account.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
// if (username != node.username || password != node.password) {
// RED.notify('Try Authentication');

// $.getJSON('/midea/cloud/login', {
// $.getJSON('midea/cloud/login', {
// controller: node.id,
// username: username,
// password: password
Expand Down
2 changes: 1 addition & 1 deletion nodes/cloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$('#node-input-device').val(value);

if (account && account.id) {
$.getJSON('/midea/cloud/devices', {
$.getJSON('midea/cloud/devices', {
controller: account.id,
}).done(function (data, textStatus, jqXHR) {
if (!data.error) {
Expand Down

0 comments on commit 58e6c29

Please sign in to comment.