mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-09 00:43:23 +01: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}")
|
@RequestMapping(method = RequestMethod.DELETE, value = "/labels/{id}")
|
||||||
@ResponseStatus(value = HttpStatus.NO_CONTENT)
|
@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 User user = Utils.getUser();
|
||||||
final Label label = labelService.getLabelById(id);
|
final Label label = labelService.getLabelById(id);
|
||||||
if (label == null) {
|
if (label == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user