From cdef3629ccc211174a4cb990e69912e85298f7f8 Mon Sep 17 00:00:00 2001 From: Tan Jiang Date: Wed, 30 Mar 2016 18:05:52 +0800 Subject: [PATCH] fix typo --- api/member.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/member.go b/api/member.go index 383373308..0b95e9f1f 100644 --- a/api/member.go +++ b/api/member.go @@ -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 }