Skip to content

Commit b9a32df

Browse files
author
Oscar Costoya Vidal
committed
the fields human_time_estimate and human_total_time_spent
They are incorrectly typed because according to the api it is of type String, not Int: https://docs.gitlab.com/ee/api/merge_requests.html#get-time-tracking-stats
1 parent 8561588 commit b9a32df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Danger/GitLabDSL.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ public extension GitLab {
110110
case totalTimeSpent = "total_time_spent"
111111
}
112112

113-
public let humanTimeEstimate: Int?
114-
public let humanTimeSpent: Int?
113+
public let humanTimeEstimate: String?
114+
public let humanTimeSpent: String?
115115
public let timeEstimate: Int
116116
public let totalTimeSpent: Int
117117
}

0 commit comments

Comments
 (0)