Added some notes
This commit is contained in:
parent
3fe5933358
commit
85b3187f3f
2 changed files with 2 additions and 0 deletions
|
|
@ -633,6 +633,7 @@ public class SeriesService : ISeriesService
|
|||
|
||||
public async Task<string> FormatChapterTitle(int userId, bool isSpecial, LibraryType libraryType, string chapterRange, string? chapterTitle, bool withHash)
|
||||
{
|
||||
// TODO: Refactor so this is unit testable
|
||||
if (string.IsNullOrEmpty(chapterTitle) && (isSpecial || libraryType == LibraryType.Book)) throw new ArgumentException("Chapter Title cannot be null");
|
||||
|
||||
if (isSpecial)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue