1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixed download data not working.

It moved from runtime_thermostat to runtime.
This commit is contained in:
Jon Ziebell 2020-01-14 20:46:03 -05:00
parent 1288713ad0
commit 21a5b860ae

View File

@ -175,7 +175,7 @@ beestat.component.modal.download_data.prototype.get_buttons_ = function() {
'download_end': download_end
};
window.location.href = '/api/?resource=runtime_thermostat&method=download&arguments=' + JSON.stringify(download_arguments) + '&api_key=' + beestat.api.api_key;
window.location.href = '/api/?resource=runtime&method=download&arguments=' + JSON.stringify(download_arguments) + '&api_key=' + beestat.api.api_key;
self.dispose();
});