Skip to content

Commit

Permalink
chore/fix lint warning (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeeeenster authored Jul 18, 2023
1 parent 6dfeaab commit 4170b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FlagsmithClient/Classes/Flagsmith.swift
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public class Flagsmith {
getFeatureFlags(forIdentity: identity) { (result) in
switch result {
case .success(let flags):
var flag = flags.first(where: {$0.feature.name == id})
let flag = flags.first(where: {$0.feature.name == id})
completion(.success(flag?.value))
case .failure(let error):
if let flag = self.getFlagUsingDefaults(withID: id, forIdentity: identity) {
Expand Down

0 comments on commit 4170b51

Please sign in to comment.