Skip to content

Commit 8a6a03b

Browse files
committed
Fix Issue creating model (make it mutable)
Update .podspec
1 parent 4962d00 commit 8a6a03b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

GithubAPI.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = 'GithubAPI'
11-
s.version = '0.0.1'
11+
s.version = '0.0.2'
1212
s.summary = 'Swift implementation of Github REST api v3'
1313

1414
# This description is used to generate tags and improve search results.

GithubAPI/Classes/IssuesAPI/Models/CreateIssue/Issue.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
import Foundation
99

1010
public struct Issue : Codable {
11-
public let assignees : [String]?
12-
public let body : String?
13-
public let labels : [String]?
14-
public let milestone : Int?
15-
public let title : String?
11+
public var assignees : [String]?
12+
public var body : String?
13+
public var labels : [String]?
14+
public var milestone : Int?
15+
public var title : String?
1616

1717
enum CodingKeys: String, CodingKey {
1818
case assignees = "assignees"

0 commit comments

Comments
 (0)