mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 10:45:45 +01:00
modify as travis CI required
This commit is contained in:
parent
9f16403a22
commit
26d7f77532
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user