Skip to content

Commit

Permalink
fix: Fix failure on NoContent for Lavasearch
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobreuer committed Mar 17, 2024
1 parent 2e26315 commit fed6ad0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static class LavalinkApiClientExtensions
.GetAsync(requestUri, cancellationToken)
.ConfigureAwait(false);

if (responseMessage.StatusCode is HttpStatusCode.NotFound)
if (responseMessage.StatusCode is HttpStatusCode.NotFound or HttpStatusCode.NoContent)
{
return null;
}
Expand Down

0 comments on commit fed6ad0

Please sign in to comment.