mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-31 23:59:32 +01:00
fix typo
This commit is contained in:
parent
366d1bff6a
commit
cdef3629cc
@ -130,7 +130,7 @@ func (pma *ProjectMemberAPI) Post() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !hasProjectAdminRole {
|
if !hasProjectAdminRole {
|
||||||
log.Warningf("Current user, id: %d does not have project admin role for project, id:", pma.currentUserUD, pid)
|
log.Warningf("Current user, id: %d does not have project admin role for project, id:", pma.currentUserID, pid)
|
||||||
pma.RenderError(http.StatusForbidden, "")
|
pma.RenderError(http.StatusForbidden, "")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user