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:
+1
-1
@@ -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"',
|
||||
|
||||
Reference in New Issue
Block a user