mirror of
https://github.com/goharbor/harbor
synced 2025-04-28 16:56:23 +00:00
fix typo
This commit is contained in:
parent
366d1bff6a
commit
cdef3629cc
@ -130,7 +130,7 @@ func (pma *ProjectMemberAPI) Post() {
|
||||
}
|
||||
}
|
||||
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, "")
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user