modify as travis CI required

This commit is contained in:
wemeya 2016-06-02 19:10:53 +08:00
parent 9f16403a22
commit 26d7f77532

View File

@ -199,7 +199,7 @@ func (p *ProjectAPI) List() {
p.ServeJSON() p.ServeJSON()
} }
// ToggleProjectPulic handles request PUT /api/projects/:id/publicity // ToggleProjectPublic handles request PUT /api/projects/:id/publicity
func (p *ProjectAPI) ToggleProjectPublic() { func (p *ProjectAPI) ToggleProjectPublic() {
p.userID = p.ValidateUser() p.userID = p.ValidateUser()
var req projectReq var req projectReq