Skip to content

Commit

Permalink
Fix typo in time machine method parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
sergigracia committed Oct 30, 2016
1 parent 704af8e commit 6f7bda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DarkSkyKit/TimeMachine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<Forecast>) -> Void) {
public func timeMachine(latitude lat: Double, longitude long: Double, date: Date, result: @escaping (Result<Forecast>) -> Void) {
Alamofire.request(Router.timeMachine(configuration, lat, long, date)).responseJSON { response in
switch response.result {
case .success(let value):
Expand Down

0 comments on commit 6f7bda1

Please sign in to comment.