Skip to content

Commit

Permalink
chore: fix feature contentn
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendomey committed Jan 13, 2025
1 parent 278ec39 commit 0f1a82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/main/Controllers/Content.cs
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ public async Task<IActionResult> 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<Models.CollectionContent>(collectionContent, null).Result()) { StatusCode = StatusCodes.Status200OK };
}
Expand Down Expand Up @@ -1024,7 +1024,7 @@ public async Task<IActionResult> 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<bool>(collectionContent, null).Result()) { StatusCode = StatusCodes.Status200OK };
}
Expand Down

0 comments on commit 0f1a82e

Please sign in to comment.