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

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

Merge branch...

Merge branch '371-editorialpagesservice-uses-user-s-access-right-to-load-and-cache-pages' into 'development'

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

See merge request sharing/codeability-sharing-platform!174
parents 5f3ffaca 7a13c78d
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