param type

This commit is contained in:
Michele Artini 2023-07-05 10:56:11 +02:00
parent c40eeee1d1
commit aebac32457
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ public class CommunityApiController {
}) })
public void deleteCommunityProject( public void deleteCommunityProject(
@PathVariable final String id, @PathVariable final String id,
@RequestBody final String projectId) throws CommunityException { @RequestParam final String projectId) throws CommunityException {
communityService.removeCommunityProjects(id, projectId); communityService.removeCommunityProjects(id, projectId);
} }
@ -233,7 +233,7 @@ public class CommunityApiController {
}) })
public void removeCommunityContentprovider( public void removeCommunityContentprovider(
@PathVariable final String id, @PathVariable final String id,
@RequestBody final String contentproviderId) throws CommunityException { @RequestParam final String contentproviderId) throws CommunityException {
communityService.removeCommunityContentProviders(id, contentproviderId); communityService.removeCommunityContentProviders(id, contentproviderId);
} }