Skip to content

Commit

Permalink
Merge pull request #1 from ikesyo/fix-typo
Browse files Browse the repository at this point in the history
[RequestBodyBuilder] Fix typo
  • Loading branch information
ishkawa committed Feb 23, 2015
2 parents b9ac30a + 5ba22bb commit 6057b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion APIKit/RequestBodyBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public enum RequestBodyBuilder {
switch self {
case .JSON(let writingOptions):
if !NSJSONSerialization.isValidJSONObject(object) {
let userInfo = [NSLocalizedDescriptionKey: "invalidate object for JSON passed."]
let userInfo = [NSLocalizedDescriptionKey: "invalid object for JSON passed."]
let error = NSError(domain: APIKitRequestBodyBuidlerErrorDomain, code: 0, userInfo: userInfo)
result = Result.Failure(Box(error))
break
Expand Down

0 comments on commit 6057b2d

Please sign in to comment.