File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ public class Geocoder: NSObject {
292292 if let timeInterval = response. rateLimitInterval, let maximumCountOfRequests = response. rateLimit {
293293 let intervalFormatter = NSDateComponentsFormatter ( )
294294 intervalFormatter. unitsStyle = . Full
295- let formattedInterval = intervalFormatter. stringFromTimeInterval ( timeInterval) ?? " ? minutes "
295+ let formattedInterval = intervalFormatter. stringFromTimeInterval ( timeInterval) ?? " \( timeInterval ) seconds "
296296 let formattedCount = NSNumberFormatter . localizedStringFromNumber ( maximumCountOfRequests, numberStyle: . DecimalStyle)
297297 failureReason = " More than \( formattedCount) requests have been made with this access token within a period of \( formattedInterval) . "
298298 }
You can’t perform that action at this time.
0 commit comments