mirror of
https://github.com/goharbor/harbor.git
synced 2025-03-11 14:09:55 +01:00
remove useless codes
This commit is contained in:
parent
7920803735
commit
1919f19459
@ -38,14 +38,8 @@ import (
|
||||
// the security of registry
|
||||
type RepositoryAPI struct {
|
||||
BaseAPI
|
||||
//userID int
|
||||
}
|
||||
|
||||
// Prepare will set a non existent user ID in case the request tries to view repositories under a project he doesn't has permission.
|
||||
//func (ra *RepositoryAPI) Prepare() {
|
||||
// ra.userID = ra.ValidateUser()
|
||||
//}
|
||||
|
||||
// Get ...
|
||||
func (ra *RepositoryAPI) Get() {
|
||||
projectID, err := ra.GetInt64("project_id")
|
||||
|
Loading…
Reference in New Issue
Block a user