Skip to content

Commit

Permalink
Ignore certs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Jul 29, 2022
1 parent d9677f8 commit e86db72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Service/GithubConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public function __construct(private ?ConfigValues $config)
'Accept' => 'application/vnd.github.v3+json',
'Authorization' => 'token ' . $this->config->getGithubToken(),
],
'defaults' => [
'verify' => false,
],
'base_uri' => 'https://api.github.com/repos/' . $config->getGithubRepo() . '/',
]);
}
Expand Down
3 changes: 3 additions & 0 deletions src/Service/MantisConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public function __construct(private ?ConfigValues $config)
'Authorization' => $this->config->getMantisToken(),
'Content-Type' => 'application/json',
],
'defaults' => [
'verify' => false,
],
'base_uri' => rtrim($this->config->getMantisUrl(), '/') . '/api/rest/issues/',
]);
}
Expand Down

0 comments on commit e86db72

Please sign in to comment.