fix: fixed tidal resolve of tracks, some cleanup
Some checks failed
Deploy / update (push) Has been cancelled
Build Project .NET / build (push) Failing after 1m15s

This commit is contained in:
2025-07-07 18:14:33 +03:00
parent 4a95ba0d86
commit 362284528c
4 changed files with 6 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ public class YandexService : ApiService
var artists = string.Join(", ", json!.Artists.ToList().ConvertAll(x => x.Name));
return new TrackDto(json.Track.Title, artists, json.Track.Albums[0].Title, ServiceType);
}
catch (JsonException ex)
catch (JsonException)
{
throw new TooManyRequestsException("Яндекс, похоже, считает что мы робот, что по сути является правдой. Попробуйте позже.");
}