From 57ccaeac70fb82a74072619e8225e396e1488169 Mon Sep 17 00:00:00 2001 From: Dave Marquard Date: Mon, 19 Jul 2021 13:22:02 -0700 Subject: [PATCH] minor style change --- Account/Sources/Account/ReaderAPI/ReaderAPICaller.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/Sources/Account/ReaderAPI/ReaderAPICaller.swift b/Account/Sources/Account/ReaderAPI/ReaderAPICaller.swift index 46b8c97e1..a769d956c 100644 --- a/Account/Sources/Account/ReaderAPI/ReaderAPICaller.swift +++ b/Account/Sources/Account/ReaderAPI/ReaderAPICaller.swift @@ -452,7 +452,7 @@ final class ReaderAPICaller: NSObject { } private func changeSubscription(subscriptionID: String, removeTagName: String? = nil, addTagName: String? = nil, title: String? = nil, completion: @escaping (Result) -> Void) { - if removeTagName == nil && addTagName == nil && title == nil { + guard removeTagName != nil || addTagName != nil || title != nil else { completion(.failure(ReaderAPIAccountDelegateError.invalidParameter)) return }