Fixed a missing public memberwise init
This commit is contained in:
parent
8eaed4c74f
commit
f618cab94f
|
@ -86,6 +86,10 @@ extension Agent.Resources {
|
||||||
public struct Body: Codable {
|
public struct Body: Codable {
|
||||||
/// If the agent is currently processing a job, the job and the build will be canceled.
|
/// If the agent is currently processing a job, the job and the build will be canceled.
|
||||||
public var force: Bool?
|
public var force: Bool?
|
||||||
|
|
||||||
|
public init(force: Bool? = nil) {
|
||||||
|
self.force = force
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public var path: String {
|
public var path: String {
|
||||||
|
|
|
@ -24,8 +24,7 @@ extension Organization.Resources {
|
||||||
public typealias Content = [Organization]
|
public typealias Content = [Organization]
|
||||||
public let path = "organizations"
|
public let path = "organizations"
|
||||||
|
|
||||||
public init() {
|
public init() {}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get an organization
|
/// Get an organization
|
||||||
|
|
Loading…
Reference in New Issue