Skip to content

Commit

Permalink
Fix EditTypeItemDetailDbRequest bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mvasilak committed Feb 3, 2025
1 parent ee45179 commit 0a32564
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct EditTypeItemDetailDbRequest: DbRequest {

private func update(creators: OrderedDictionary<String, ItemDetailState.Creator>, item: RItem, changes: inout RItemChanges, database: Realm) {
// Remove creator types which don't exist for this item type
let toRemove = item.creators.filter("not uuid in %@", creators.keys)
let toRemove = item.creators.filter("not uuid in %@", Array(creators.keys))
if !toRemove.isEmpty {
changes.insert(.creators)
}
Expand Down

0 comments on commit 0a32564

Please sign in to comment.