Skip to content

Commit

Permalink
Comment change
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Sep 16, 2024
1 parent 450ed7e commit 02c032e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ struct CreateHtmlEpubAnnotationsDbRequest: DbRequest {
item.createdBy = database.object(ofType: RUser.self, forPrimaryKey: userId)
}

// We need to submit tags on creation even if they are empty, so we need to mark them as changed
addFields(for: annotation, to: item, database: database)
addTags(for: annotation, to: item, database: database)
// We need to submit tags on creation even if they are empty, so we need to mark them as changed
let changes: RItemChanges = [.parent, .fields, .type, .tags]
item.changes.append(RObjectChange.create(changes: changes))
}
Expand Down

0 comments on commit 02c032e

Please sign in to comment.