nstack-io / nstack-ios-sdk

MIT License
5 stars 10 forks source link

The SDK doesn't return Geography's Languages #82

Open mariusc opened 4 years ago

mariusc commented 4 years ago
NStack.sharedInstance.geographyManager?.languages(completion: { languages in
            print("languages - \(languages)")
        })

prints this in the console

languages - failure(Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "is_default", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "data", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: \"is_default\", intValue: nil) (\"is_default\").", underlyingError: nil)))

Issue can be see in #81