Fixed a missing public memberwise init

This commit is contained in:
Aaron Sky 2020-05-23 22:10:19 -04:00
parent 8eaed4c74f
commit f618cab94f
2 changed files with 5 additions and 2 deletions

View File

@ -86,6 +86,10 @@ extension Agent.Resources {
public struct Body: Codable {
/// If the agent is currently processing a job, the job and the build will be canceled.
public var force: Bool?
public init(force: Bool? = nil) {
self.force = force
}
}
public var path: String {

View File

@ -24,8 +24,7 @@ extension Organization.Resources {
public typealias Content = [Organization]
public let path = "organizations"
public init() {
}
public init() {}
}
/// Get an organization