Correction d'un typo dans la nom d'une permission
This commit is contained in:
parent
2753ffde1b
commit
e9ed33432d
|
@ -38,7 +38,7 @@ class MaterialTypeController(private val materialTypeService: MaterialTypeServic
|
|||
}
|
||||
|
||||
@DeleteMapping("{id}")
|
||||
@PreAuthorize("hasAuthority('REMOVE_MATERIAL_TYPEs')")
|
||||
@PreAuthorize("hasAuthority('REMOVE_MATERIAL_TYPES')")
|
||||
fun deleteById(@PathVariable id: Long) =
|
||||
noContent {
|
||||
materialTypeService.deleteById(id)
|
||||
|
|
Loading…
Reference in New Issue