Skip to content

Commit ee85696

Browse files
author
Thomas Eimers
committed
/rest/api//content/34636069 is not accepted from confluence API
1 parent c018348 commit ee85696

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Api/AbstractApi.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,14 @@ protected function handleErrors(ResponseInterface $response): void
219219

220220
/**
221221
* @param string|int|null ...$parameter
222-
* @return string
222+
* @return string example `content/34636069`
223223
*/
224224
protected static function getRestfulUri(...$parameter): string
225225
{
226226
$parameterString = implode('/', array_filter($parameter));
227227

228228
if (!empty($parameterString)) {
229-
return '/' . $parameterString;
229+
return $parameterString;
230230
}
231231

232232
return '';

0 commit comments

Comments
 (0)