mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-09-11 23:00:06 +02:00
rename method
This commit is contained in:
parent
8936ef5008
commit
12ec295fe0
@ -96,7 +96,7 @@ public class LabelController extends BaseController {
|
||||
|
||||
@RequestMapping(method = RequestMethod.DELETE, value = "/labels/{id}")
|
||||
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
||||
public void deleteMapById(@PathVariable int id) throws WiseMappingException {
|
||||
public void deleteLabelById(@PathVariable int id) throws WiseMappingException {
|
||||
final User user = Utils.getUser();
|
||||
final Label label = labelService.getLabelById(id);
|
||||
if (label == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user