mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01: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…
Reference in New Issue
Block a user