diff --git a/Sources/Blackbird/BlackbirdObservation.swift b/Sources/Blackbird/BlackbirdObservation.swift index 0f3dafa..295baa2 100644 --- a/Sources/Blackbird/BlackbirdObservation.swift +++ b/Sources/Blackbird/BlackbirdObservation.swift @@ -157,7 +157,7 @@ public final class BlackbirdModelObserver { } /// Set or change the single-column primary-key value to observe. - public func observe(primaryKey: Sendable? = nil) { observe(multicolumnPrimaryKey: [primaryKey]) } + public func observe(primaryKey: Sendable? = nil) { observe(multicolumnPrimaryKey: primaryKey == nil ? nil : [primaryKey]) } /// Set or change the multi-column primary-key value to observe. public func observe(multicolumnPrimaryKey: [Sendable]? = nil) {