mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-04 11:24:35 -05:00
Properly bind track privately (#1534)
In case the track was read from the TrackSearchTable the private status was never applied
This commit is contained in:
@@ -176,11 +176,11 @@ object Track {
|
|||||||
(TrackRecordTable.remoteId eq remoteId)
|
(TrackRecordTable.remoteId eq remoteId)
|
||||||
}.first()
|
}.first()
|
||||||
.toTrack()
|
.toTrack()
|
||||||
.apply {
|
}.apply {
|
||||||
this.manga_id = mangaId
|
this.manga_id = mangaId
|
||||||
this.private = private
|
this.private = private
|
||||||
}
|
}
|
||||||
}
|
|
||||||
val tracker = TrackerManager.getTracker(trackerId)!!
|
val tracker = TrackerManager.getTracker(trackerId)!!
|
||||||
|
|
||||||
val chapter = queryMaxReadChapter(mangaId)
|
val chapter = queryMaxReadChapter(mangaId)
|
||||||
|
|||||||
Reference in New Issue
Block a user