diff --git a/src/Mangarr.Backend/Endpoints/Manga/Details/MangaDetailsEndpoint.cs b/src/Mangarr.Backend/Endpoints/Manga/Details/MangaDetailsEndpoint.cs index 3f2c8ec..ee18678 100644 --- a/src/Mangarr.Backend/Endpoints/Manga/Details/MangaDetailsEndpoint.cs +++ b/src/Mangarr.Backend/Endpoints/Manga/Details/MangaDetailsEndpoint.cs @@ -72,11 +72,15 @@ public override async Task HandleAsync(MangaDetailsRequest req, CancellationToke SourceBase.DeconstructId(document.MangaId, out string url, out _); + string title = !string.IsNullOrEmpty(result.Value.Title.English) + ? result.Value.Title.English + : result.Value.Title.Romaji; + await SendOkAsync(new MangaDetailsResponse { Data = new MangaDetailsModel { - Title = result.Value.Title.English, + Title = title, SourceName = source.Name, SourceUrl = url, Description = result.Value.DescriptionHtml,