From 21a5b860ae155c04e977bc96d90068e4392b2fa5 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Tue, 14 Jan 2020 20:46:03 -0500 Subject: [PATCH] Fixed download data not working. It moved from runtime_thermostat to runtime. --- js/component/modal/download_data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/component/modal/download_data.js b/js/component/modal/download_data.js index 3476d3d..3846bf2 100644 --- a/js/component/modal/download_data.js +++ b/js/component/modal/download_data.js @@ -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(); });