1
0
mirror of https://github.com/beestat/app.git synced 2026-05-13 10:52:29 -04:00

Fixed downloads and patreon connections not working

This commit is contained in:
Jon Ziebell
2020-03-16 20:57:17 -04:00
parent 6ea48160e9
commit b422bd9522
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -983,7 +983,7 @@ class runtime extends cora\api {
} while ($chunk_end < $download_end);
fclose($output);
$this->cora->set_headers([
$this->request->set_headers([
'Content-Type' => 'text/csv',
'Content-Length' => $bytes,
'Content-Disposition' => 'attachment; filename="Beestat Export - ' . $ecobee_thermostat['identifier'] . '.csv"',