[backend/api] Fix incorrect rate limits being applied to note thread mute endpoints
This commit is contained in:
parent
df587e417d
commit
1bc3fc9b39
1 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ public class NoteController(
|
|||
[HttpPost("{id}/mute")]
|
||||
[Authenticate]
|
||||
[Authorize]
|
||||
[EnableRateLimiting("strict")]
|
||||
[EnableRateLimiting("sliding")]
|
||||
[ProducesResults(HttpStatusCode.OK)]
|
||||
[ProducesErrors(HttpStatusCode.NotFound)]
|
||||
public async Task MuteNoteThread(string id)
|
||||
|
@ -485,7 +485,7 @@ public class NoteController(
|
|||
[HttpPost("{id}/unmute")]
|
||||
[Authenticate]
|
||||
[Authorize]
|
||||
[EnableRateLimiting("strict")]
|
||||
[EnableRateLimiting("sliding")]
|
||||
[ProducesResults(HttpStatusCode.OK)]
|
||||
[ProducesErrors(HttpStatusCode.NotFound)]
|
||||
public async Task UnmuteNoteThread(string id)
|
||||
|
|
Loading…
Add table
Reference in a new issue