Skip to content

Commit

Permalink
Update Flag.nearestStation to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sxg committed Apr 8, 2019
1 parent 8c6425b commit cf9523f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Flag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public struct Flag: Decodable {
public let darkSkyUnavailable: Bool?

/// The distance to the nearest weather station that contributed data to this response. Note, however, that many other stations may have also been used; this value is primarily for debugging purposes.
public let nearestStation: Double
public let nearestStation: Double?

/// Contains the IDs for each data station used in servicing this request.
public let sources: [String]
Expand Down

0 comments on commit cf9523f

Please sign in to comment.