Skip to content

Commit 049d577

Browse files
committed
feat: Add temporary type assertion for UpdateGallery
1 parent 3aad83d commit 049d577

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/metadata/title.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ func ParseTitles(tryNative bool, overwrite bool) {
133133
gallery.Category = &manga
134134
}
135135

136-
err = db.UpdateGallery(gallery, currentTags, currentReference, true)
136+
// FIXME: Remove the type assertion after UpdateGallery is reworked.
137+
err = db.UpdateGallery(model.Gallery(gallery), currentTags, currentReference, true)
137138
if err != nil {
138139
log.Errorf("Error updating gallery %s based on its title: %s", gallery.UUID, err)
139140
}

0 commit comments

Comments
 (0)