fixed response in context api
This commit is contained in:
parent
807d2e493b
commit
80924b651c
|
@ -88,7 +88,7 @@ public class ContextApiController extends AbstractDnetController {
|
|||
if (parts.length < 3) { throw new RuntimeException("Invalid conceptId (It should have 3 (or more) parts): " + sc.getSubCommunityId()); }
|
||||
final CategorySummary cat = new CategorySummary();
|
||||
cat.setId(parts[0] + "::" + parts[1]);
|
||||
cat.setLabel(sc.getLabel());
|
||||
cat.setLabel(sc.getCategory());
|
||||
cat.setHasConcept(true);
|
||||
return cat;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue