mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Category data is not migrated
This commit is contained in:
parent
07c1e7e67f
commit
7a20537cf9
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class MigrationProcessAdapter(
|
|||
// Update categories
|
||||
if (MigrationFlags.hasCategories(flags)) {
|
||||
val categories = Injekt.get<GetCategories>().awaitByMangaId(prevManga.id)
|
||||
Injekt.get<SetMangaCategories>().await(prevManga.id, categories.mapNotNull { it.id?.toLong() })
|
||||
Injekt.get<SetMangaCategories>().await(manga.id, categories.mapNotNull { it.id?.toLong() })
|
||||
}
|
||||
// Update track
|
||||
if (MigrationFlags.hasTracks(flags)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue