From 6f7bda18b45daa4b8cff9a0639fc4eee3c09b802 Mon Sep 17 00:00:00 2001 From: Sergi Gracia Date: Sun, 30 Oct 2016 20:50:35 +0100 Subject: [PATCH] Fix typo in time machine method parameter --- DarkSkyKit/TimeMachine.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DarkSkyKit/TimeMachine.swift b/DarkSkyKit/TimeMachine.swift index 10add64..8844181 100644 --- a/DarkSkyKit/TimeMachine.swift +++ b/DarkSkyKit/TimeMachine.swift @@ -2,7 +2,7 @@ import Foundation import Alamofire public extension DarkSkyKit { - public func timeMachine(latitude lat: Double, lognitude long: Double, date: Date, result: @escaping (Result) -> Void) { + public func timeMachine(latitude lat: Double, longitude long: Double, date: Date, result: @escaping (Result) -> Void) { Alamofire.request(Router.timeMachine(configuration, lat, long, date)).responseJSON { response in switch response.result { case .success(let value):