[backend/api] Fix emoji delete endpoint having emoji twice in the route
This commit is contained in:
parent
fdf879d63b
commit
e30dbc5753
1 changed files with 11 additions and 11 deletions
|
@ -143,7 +143,7 @@ public class EmojiController(
|
|||
return Ok(res);
|
||||
}
|
||||
|
||||
[HttpDelete("emoji/{id}")]
|
||||
[HttpDelete("{id}")]
|
||||
[Authorize("role:admin")]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status404NotFound, Type = typeof(ErrorResponse))]
|
||||
|
|
Loading…
Add table
Reference in a new issue