Skip to content

Commit

Permalink
Resolved conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Jun 17, 2016
1 parent a7f1558 commit 3e3b908
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions BuildaGitServer/GitHub/GitHubIssue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ class GitHubIssue : GitHubEntity {
var title: String

required init(json: NSDictionary) throws {

self.number = json.intForKey("number")
self.body = json.stringForKey("body")
self.title = json.stringForKey("title")

self.number = try json.intForKey("number")
self.body = json.optionalStringForKey("body") ?? ""
self.title = try json.stringForKey("title")
try super.init(json: json)
}
}
Expand Down

0 comments on commit 3e3b908

Please sign in to comment.