Bug fix on repository service

This commit is contained in:
Panagiotis Kanakakis 2019-03-19 13:48:39 +00:00
parent ef1f000e5b
commit 4bf9657682
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ public class RepositoryServiceImpl implements RepositoryService {
LOGGER.debug("Initialization method of repository api!"); LOGGER.debug("Initialization method of repository api!");
LOGGER.debug("Updated version!"); LOGGER.debug("Updated version!");
httpHeaders = new HttpHeaders();
httpHeaders.set("Content-Type", "application/json");
for (String vocName : vocabularyNames) { for (String vocName : vocabularyNames) {
vocabularyMap.put(vocName, vocabularyLoader.getVocabulary(vocName, Locale.ENGLISH, Locale.ROOT)); vocabularyMap.put(vocName, vocabularyLoader.getVocabulary(vocName, Locale.ENGLISH, Locale.ROOT));