[backend/api] Don't apply default request size limit to the batch emoji import endpoint
This commit is contained in:
parent
b70de11da8
commit
9a151be99d
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ public class EmojiController(
|
|||
|
||||
[HttpPost("import")]
|
||||
[Authorize("role:admin")]
|
||||
[DisableRequestSizeLimit]
|
||||
[ProducesResults(HttpStatusCode.Accepted)]
|
||||
public async Task<AcceptedResult> ImportEmoji(IFormFile file)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue