We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e13aba0 commit 5475cd9Copy full SHA for 5475cd9
src/Jira/Api.php
@@ -72,6 +72,9 @@ public function __construct(
72
AuthenticationInterface $authentication,
73
ClientInterface $client = null
74
) {
75
+ //Regular expression to remove trailing slash
76
+ $endpoint = preg_replace('{/$}', '', $endpoint);
77
+
78
$this->setEndPoint($endpoint);
79
$this->authentication = $authentication;
80
0 commit comments