Skip to content

Commit

Permalink
Fix: remove consume type for delete mapping. (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
huGgW authored Aug 12, 2024
1 parent 8ddf8c5 commit d0e0164
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ProfessorController(
professorService.updateProfessorLanguages(koProfessorId, enProfessorId, requestBody, newImage)

@AuthenticatedStaff
@DeleteMapping("/{koProfessorId}/{enProfessorId}", consumes = ["multipart/form-data"])
@DeleteMapping("/{koProfessorId}/{enProfessorId}")
fun deleteProfessor(
@PathVariable @Positive
koProfessorId: Long,
Expand Down

0 comments on commit d0e0164

Please sign in to comment.