Correction d'un typo dans la nom d'une permission

This commit is contained in:
FyloZ 2021-04-06 09:30:29 -04:00
parent 2753ffde1b
commit e9ed33432d
1 changed files with 1 additions and 1 deletions

View File

@ -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)