Skip to content

Commit

Permalink
Update Billing Heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
ishifoev committed Apr 13, 2022
1 parent 601fe62 commit 1f505a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Heroku/HerokuClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;

}
Expand Down

0 comments on commit 1f505a8

Please sign in to comment.