param type
This commit is contained in:
parent
7d91da1099
commit
c40eeee1d1
|
@ -528,7 +528,7 @@ public class CommunityApiController {
|
||||||
public CommunityDetails addCommunityZenodoCommunity(
|
public CommunityDetails addCommunityZenodoCommunity(
|
||||||
@PathVariable final String id,
|
@PathVariable final String id,
|
||||||
@RequestParam(required = false, defaultValue = "false") final boolean main,
|
@RequestParam(required = false, defaultValue = "false") final boolean main,
|
||||||
@RequestBody final String zenodocommunity) throws CommunityException {
|
@RequestParam final String zenodocommunity) throws CommunityException {
|
||||||
|
|
||||||
return communityService.addCommunityZenodoCommunity(id, zenodocommunity, main);
|
return communityService.addCommunityZenodoCommunity(id, zenodocommunity, main);
|
||||||
|
|
||||||
|
@ -548,9 +548,9 @@ public class CommunityApiController {
|
||||||
public void removeCommunityZenodoCommunity(
|
public void removeCommunityZenodoCommunity(
|
||||||
@PathVariable final String id,
|
@PathVariable final String id,
|
||||||
@RequestParam(required = false, defaultValue = "false") final boolean main,
|
@RequestParam(required = false, defaultValue = "false") final boolean main,
|
||||||
@RequestBody final String zenodoCommId) throws CommunityException {
|
@RequestParam final String zenodocommunity) throws CommunityException {
|
||||||
|
|
||||||
communityService.removeCommunityZenodoCommunity(id, zenodoCommId, main);
|
communityService.removeCommunityZenodoCommunity(id, zenodocommunity, main);
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/community/{zenodoId}/openairecommunities", produces = {
|
@RequestMapping(value = "/community/{zenodoId}/openairecommunities", produces = {
|
||||||
|
|
Loading…
Reference in New Issue