Fix return object of "getUrlsOfUserRepos" endpoint.
This commit is contained in:
parent
97d81ce478
commit
de2ac5631f
|
@ -704,8 +704,8 @@ public class RepositoryServiceImpl implements RepositoryService {
|
|||
|
||||
RequestFilter requestFilter = new RequestFilter();
|
||||
requestFilter.setRegisteredby(userEmail);
|
||||
Object result = restTemplate.postForObject(uriComponents.toUri(), requestFilter, String[].class);
|
||||
return (result != null) ? Collections.singletonList(result.toString()) : null;
|
||||
String[] result = restTemplate.postForObject(uriComponents.toUri(), requestFilter, String[].class);
|
||||
return (result != null) ? Arrays.asList(result) : null;
|
||||
}
|
||||
|
||||
private Vocabulary getVocabulary(String vocName) {
|
||||
|
|
Loading…
Reference in New Issue