Skip to content

Commit b375458

Browse files
authored
Add auth.
1 parent 5aa1fc3 commit b375458

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Models/CamundaModel.php

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ protected function get($url)
5050

5151
private function request($url, $method, $data = [])
5252
{
53+
$data['auth'] = [config('camunda.api.auth.user'), config('camunda.api.auth.password')];
54+
5355
try {
5456
$response = $this->client->{$method}($this->buildUrl($url), $data);
5557
}

0 commit comments

Comments
 (0)