Bump version to 1.0.51
This commit is contained in:
@@ -254,6 +254,12 @@ func jobToResp(j models.Job) JobResponse {
|
||||
s := j.FinishedAt.Format(time.RFC3339)
|
||||
resp.FinishedAt = &s
|
||||
}
|
||||
if j.TotalSizeBytes > 0 {
|
||||
resp.TotalSizeBytes = &j.TotalSizeBytes
|
||||
}
|
||||
if j.SentBytes > 0 {
|
||||
resp.SentBytes = &j.SentBytes
|
||||
}
|
||||
return resp
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user