File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
FirebaseRemoteConfigSwift/Sources Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public extension RemoteConfigValue {
32
32
guard let jsonValue = self . jsonValue else {
33
33
throw RemoteConfigCodableError . jsonValueError
34
34
}
35
- return try StructureDecoder ( ) . decode ( Value . self, from: jsonValue)
35
+ return try FirebaseDataDecoder ( ) . decode ( Value . self, from: jsonValue)
36
36
}
37
37
}
38
38
@@ -43,7 +43,7 @@ public extension RemoteConfig {
43
43
* - Parameter value: The object to use to set the defaults.
44
44
*/
45
45
func setDefaults< Value: Encodable > ( from value: Value ) throws {
46
- let encoded = try StructureEncoder ( ) . encode ( value) as! [ String : NSObject ]
46
+ let encoded = try FirebaseDataEncoder ( ) . encode ( value) as! [ String : NSObject ]
47
47
setDefaults ( encoded)
48
48
}
49
49
}
You can’t perform that action at this time.
0 commit comments