From 0f1a82e186142dfe13d5004d7058b608f5c19726 Mon Sep 17 00:00:00 2001 From: Domey Benjamin Date: Mon, 13 Jan 2025 12:21:38 +0000 Subject: [PATCH] chore: fix feature contentn --- services/main/Controllers/Content.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/main/Controllers/Content.cs b/services/main/Controllers/Content.cs index efcbd05..99282f3 100644 --- a/services/main/Controllers/Content.cs +++ b/services/main/Controllers/Content.cs @@ -973,7 +973,7 @@ public async Task FeatureContent(string id) try { _logger.LogInformation("Featuring content: " + id); - var collectionContent = await _collectionContentService.FeatureCollection(id); + var collectionContent = await _collectionContentService.FeatureContent(id); return new ObjectResult(new GetEntityResponse(collectionContent, null).Result()) { StatusCode = StatusCodes.Status200OK }; } @@ -1024,7 +1024,7 @@ public async Task UnFeatureContent(string id) try { _logger.LogInformation("UnFeaturing content: " + id); - var collectionContent = await _collectionContentService.UnFeatureCollection(id); + var collectionContent = await _collectionContentService.UnFeatureContent(id); return new ObjectResult(new GetEntityResponse(collectionContent, null).Result()) { StatusCode = StatusCodes.Status200OK }; }