Skip to content

Commit

Permalink
fix arg type
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Oct 8, 2024
1 parent 348de65 commit e74b51a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FlagsmithClient/Classes/Traits.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ public struct Traits: Codable, Sendable {
public let flags: [Flag]
public let transient: Bool

init(traits: [Trait], identifier: String?, flags: [Flag] = [], transient: Bool? = false) {
init(traits: [Trait], identifier: String?, flags: [Flag] = [], transient: Bool = false) {
self.traits = traits
self.identifier = identifier
self.flags = flags
self.transient = transient ?? false
self.transient = transient
}

public func encode(to encoder: any Encoder) throws {
Expand Down

0 comments on commit e74b51a

Please sign in to comment.