From d9a821c5b66d6243e8d95f52a3ac506ac9dd7f41 Mon Sep 17 00:00:00 2001 From: "Matthew D. Groves" Date: Tue, 12 Sep 2023 10:30:10 -0400 Subject: [PATCH] #23 endpoint docs --- .../Conduit.Web/Articles/Controllers/ArticlesController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Conduit/Conduit.Web/Articles/Controllers/ArticlesController.cs b/Conduit/Conduit.Web/Articles/Controllers/ArticlesController.cs index 951f4b00b9..92021010c4 100644 --- a/Conduit/Conduit.Web/Articles/Controllers/ArticlesController.cs +++ b/Conduit/Conduit.Web/Articles/Controllers/ArticlesController.cs @@ -97,13 +97,13 @@ public async Task FavoriteArticle(string slug) /// Remove a favorite of the logged-in user's /// /// - /// + /// Conduit spec for Unfavorite article /// /// Article slug /// Article (with profile of author embedded) - /// Successful favorite, returns the favorited Article + /// Successful unfavorite, returns the unfavorited Article /// Unauthorized, likely because credentials are incorrect - /// Article was unable to be favorited + /// Article was unable to be unfavorited [HttpDelete] [Route("/api/article/{slug}/favorite")] [Authorize]