Skip to content

Commit

Permalink
Add auth.
Browse files Browse the repository at this point in the history
  • Loading branch information
wertmenschen authored Jul 10, 2018
1 parent 5aa1fc3 commit b375458
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Models/CamundaModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ protected function get($url)

private function request($url, $method, $data = [])
{
$data['auth'] = [config('camunda.api.auth.user'), config('camunda.api.auth.password')];

try {
$response = $this->client->{$method}($this->buildUrl($url), $data);
}
Expand Down

0 comments on commit b375458

Please sign in to comment.