This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 7a13c78d authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

Resolve "EditorialPagesService uses user's access right to load and cache pages"

parent 5f3ffaca
Branches
2 merge requests!1772023 März Release,!174Resolve "EditorialPagesService uses user's access right to load and cache pages"
......@@ -36,7 +36,7 @@ public class EditorialPagesService {
public EditorialPageDTO getContent(String path) throws GitLabApiException {
String encodedPath;
encodedPath = URLEncoder.encode(path, StandardCharsets.UTF_8);
final WikiPage page = gitLabRepository.getGitLabApi().getWikisApi().getPage(editorialProject, encodedPath);
final WikiPage page = gitLabRepository.getAdminGitLabApi().getWikisApi().getPage(editorialProject, encodedPath);
return new EditorialPageDTO(path, page.getContent());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment