Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-wbz committed Sep 8, 2019
1 parent fd2b7bd commit bb38da4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LaravelFakturoid.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ class LaravelFakturoid {

public function __construct() {
$this->config = [
'account_name' => config('fakturoid.app_name'),
'account_email' => config('fakturoid.app_email'),
'account_api_key' => config('fakturoid.app_api_key'),
'account_name' => config('fakturoid.account_name'),
'account_email' => config('fakturoid.account_email'),
'account_api_key' => config('fakturoid.account_api_key'),
'app_contact' => config('fakturoid.app_contact'),
];
$this->initFakturoid();
}

protected function initFakturoid() {
$this->fakturoid = new Fakturoid\Client($this->config['app_name'], $this->config['app_email'], $this->config['app_api_key'], $this->config['app_contact']);
$this->fakturoid = new Fakturoid\Client($this->config['account_name'], $this->config['account_email'], $this->config['account_api_key'], $this->config['app_contact']);

return $this->fakturoid;
}
Expand Down

0 comments on commit bb38da4

Please sign in to comment.