diff options
Diffstat (limited to 'models/org_team.go')
-rw-r--r-- | models/org_team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org_team.go b/models/org_team.go index 40fdeaa75e..ccee9f544b 100644 --- a/models/org_team.go +++ b/models/org_team.go @@ -69,7 +69,7 @@ func (t *Team) IsOwnerTeam() bool { func (t *Team) IsMember(userID int64) bool { isMember, err := IsTeamMember(t.OrgID, t.ID, userID) if err != nil { - log.Error(4, "IsMember: %v", err) + log.Error("IsMember: %v", err) return false } return isMember |