Skip to content

Commit

Permalink
[RequestBodyBuilder] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Feb 23, 2015
1 parent b9ac30a commit 5ba22bb
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 5ba22bb

Please sign in to comment.