mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
Performance patch, version bump
This commit is contained in:
@@ -165,6 +165,12 @@ func (api *WebAPI) UpdateProject(r *Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if updateReq.AssignRate == 0 {
|
||||
updateReq.AssignRate = rate.Inf
|
||||
}
|
||||
if updateReq.SubmitRate == 0 {
|
||||
updateReq.SubmitRate = rate.Inf
|
||||
}
|
||||
project := &storage.Project{
|
||||
Id: id,
|
||||
Name: updateReq.Name,
|
||||
|
||||
Reference in New Issue
Block a user