update vendor

This commit is contained in:
Qiu Jian
2019-08-17 18:47:52 +08:00
parent e1f35f67e7
commit a4b4ef8d9d
5 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ type SProjectAddUserGroupInput struct {
}
func (input SProjectAddUserGroupInput) Validate() error {
if len(input.Users) == 0 || len(input.Groups) == 0 {
if len(input.Users) == 0 && len(input.Groups) == 0 {
return errors.Error("empty user and group")
}
if len(input.Roles) == 0 {