Skip to content

Commit

Permalink
fix: don't send null values to client(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Sep 3, 2024
1 parent bbcdf22 commit ed0b49e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Shoko.Server/API/v3/Controllers/WebUIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Logging;
using Shoko.Commons.Extensions;
using Shoko.Server.API.Annotations;
using Shoko.Server.API.ModelBinders;
using Shoko.Server.API.v3.Helpers;
Expand Down Expand Up @@ -245,6 +246,7 @@ public ActionResult<List<WebUIGroupExtra>> GetGroupView([FromBody] Input.WebUIGr
return _webUIFactory.GetWebUIGroupExtra(group, anime, body.TagFilter, body.OrderByName,
body.TagLimit);
})
.WhereNotNull()
.ToList();
}

Expand Down

0 comments on commit ed0b49e

Please sign in to comment.