fix control message sending job will be run twice

pull/941/head
ryanzhao 2 years ago
parent 1c4981cb5d
commit f3fcdad553

@ -294,8 +294,8 @@ public struct Job: Codable, Equatable, Identifiable, FetchableRecord, MutablePer
// MARK: - Custom Database Interaction
public mutating func didInsert(with rowID: Int64, for column: String?) {
self.id = rowID
public mutating func didInsert(_ inserted: InsertionSuccess) {
self.id = inserted.rowID
}
}

Loading…
Cancel
Save