From 3edda1e70e7f0b08c3dc7e0d8e8aa633d347f01a Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Fri, 13 Dec 2024 22:04:49 +0100 Subject: [PATCH] [backend/api] Document 200 response for /users/{id}/unfollow (ISH-662) --- Iceshrimp.Backend/Controllers/Web/UserController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Iceshrimp.Backend/Controllers/Web/UserController.cs b/Iceshrimp.Backend/Controllers/Web/UserController.cs index e0971bed..f5e559e0 100644 --- a/Iceshrimp.Backend/Controllers/Web/UserController.cs +++ b/Iceshrimp.Backend/Controllers/Web/UserController.cs @@ -161,6 +161,7 @@ public class UserController( } [HttpPost("{id}/unfollow")] + [ProducesResults(HttpStatusCode.OK)] [ProducesErrors(HttpStatusCode.BadRequest, HttpStatusCode.NotFound)] public async Task UnfollowUser(string id) {