From 1f505a81f91229864ad40885bcaaccf3c273b7c4 Mon Sep 17 00:00:00 2001 From: Ismoil Shifoev Date: Wed, 13 Apr 2022 17:36:52 +0500 Subject: [PATCH] Update Billing Heroku --- src/Heroku/HerokuClient.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Heroku/HerokuClient.php b/src/Heroku/HerokuClient.php index 07cb4b2..6af0d35 100644 --- a/src/Heroku/HerokuClient.php +++ b/src/Heroku/HerokuClient.php @@ -74,9 +74,9 @@ public function getHerokuInvoice(){ $dom = new \DOMDocument; $dom->loadXML($outputXMLString); - $dom->save('./api_responses_xml/'.'heroku_invoice.xml'); + $dom->save('heroku_invoice.xml'); } - file_put_contents("./api_responses_json/heroku_invoice.json", json_encode($account, JSON_PRETTY_PRINT)); + file_put_contents("heroku_invoice.json", json_encode($account, JSON_PRETTY_PRINT)); return $invoice; } @@ -119,10 +119,10 @@ public function getHerokuTeamInvoices() { $dom = new \DOMDocument; $dom->loadXML($outputXMLString); - $dom->save('./api_responses_xml/'. 'heroku_invoice_team.xml'); + $dom->save('heroku_invoice_team.xml'); } } - file_put_contents("./api_responses_json/heroku_team_invoices.json", json_encode($team_invoices, JSON_PRETTY_PRINT)); + file_put_contents("heroku_team_invoices.json", json_encode($team_invoices, JSON_PRETTY_PRINT)); return $team_invoices; }