Skip to content

Commit

Permalink
Update MapplsAPIKit.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth-kushwaha authored Jun 14, 2023
1 parent cc3c5f1 commit 187bd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/v1.0.12/MapplsAPIKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ In callback of `getResults` function it will either return an error object of ty
if let error = error {
print("error: \(error.localizedDescription)")
} else {
if let temp = weatherResponse?.data?.temperature?.temperature , let unit = weatherResponse?.data?.temperature?.temperatureUnit {
if let temp = weatherResponse?.data?.temperature?.value , let unit = weatherResponse?.data?.temperature?.unit {
print("current temperature: \(temp) \(unit)")
}

Expand Down

0 comments on commit 187bd77

Please sign in to comment.