Update project version

This commit is contained in:
simon987
2019-02-28 21:45:33 -05:00
parent 67c67090cf
commit 31359b1770
3 changed files with 6 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ type UpdateProjectRequest struct {
Paused bool `json:"paused"`
AssignRate rate.Limit `json:"assign_rate"`
SubmitRate rate.Limit `json:"submit_rate"`
Version string `json:"version"`
}
func (req *UpdateProjectRequest) isValid(pid int64) bool {