diff --git a/FlagsmithClient/Classes/Flagsmith.swift b/FlagsmithClient/Classes/Flagsmith.swift index 6d9821d..3228bd6 100644 --- a/FlagsmithClient/Classes/Flagsmith.swift +++ b/FlagsmithClient/Classes/Flagsmith.swift @@ -90,7 +90,9 @@ public final class Flagsmith: @unchecked Sendable { { if let identity = identity { if let traits = traits { - apiManager.request(.postTraits(identity: identity, traits: traits, transient: transient)) { (result: Result) in + apiManager.request( + .postTraits(identity: identity, traits: traits, transient: transient) + ) { (result: Result) in switch result { case let .success(result): completion(.success(result.flags))