Skip to content
Snippets Groups Projects
Commit d8be9254 authored by Michał Bień's avatar Michał Bień
Browse files

Improved gitlab files handling

parent 7ff048e0
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ func (s *configServiceServer) PrepareDataMapFromRepository(api *gitlab.Client, r ...@@ -132,7 +132,7 @@ func (s *configServiceServer) PrepareDataMapFromRepository(api *gitlab.Client, r
continue continue
} }
data, _, err := s.gitAPI.Repositories.RawBlobContent(repoId, file.ID) data, _, err := s.gitAPI.RepositoryFiles.GetRawFile(repoId, file.Name, nil)
if err != nil { if err != nil {
return nil, status.Errorf(codes.Internal, "Error while reading file from Gitlab!") return nil, status.Errorf(codes.Internal, "Error while reading file from Gitlab!")
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment