Skip to content

Commit

Permalink
Project Structure Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfej94 committed Aug 14, 2020
1 parent d8d4a0b commit 5dd84a6
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file not shown.
2 changes: 1 addition & 1 deletion AtlasKit.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |spec|

spec.name = "AtlasKit"
spec.version = "0.1.1"
spec.version = "0.1.2"
spec.license = "MIT"
spec.summary = "A swift library for quickly integrating a location search in your app."
spec.homepage = "https://github.com/appoly/AtlasKit"
Expand Down
2 changes: 1 addition & 1 deletion Sources/AtlasKit/AtlasKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class AtlasKit {
encoding: URLEncoding.methodDependent,
headers: nil)

request.validate(statusCode: HTTPStatusCode.ok.rawValue..<HTTPStatusCode.multipleChoices.rawValue).responseJSON { [weak self] (response) in
request.validate(statusCode: 200..<300).responseJSON { [weak self] (response) in
switch response.result {
case .failure(_):
completion(nil, .generic)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5dd84a6

Please sign in to comment.