mirror of
https://github.com/gotson/komga.git
synced 2026-01-04 06:44:06 +01:00
refactor: change toString format
This commit is contained in:
parent
1dab826622
commit
b724a21256
2 changed files with 2 additions and 2 deletions
|
|
@ -79,5 +79,5 @@ class Book(
|
|||
|
||||
fun fileSizeHumanReadable(): String = BinaryByteUnit.format(fileSize)
|
||||
|
||||
override fun toString(): String = url.toURI().path
|
||||
override fun toString(): String = "Book($id, ${url.toURI().path})"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,5 +72,5 @@ class Series(
|
|||
this.books = books.toList()
|
||||
}
|
||||
|
||||
override fun toString(): String = url.toURI().path
|
||||
override fun toString(): String = "Series($id, ${url.toURI().path})"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue