Explorar el Código

Merge branch 'feature/non_friends' into debug

* feature/non_friends:
  fixbug
boweniac hace 6 días
padre
commit
af9e6406fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      internal/logic/contact/get_contact_list_logic.go

+ 1 - 1
internal/logic/contact/get_contact_list_logic.go

@@ -58,7 +58,7 @@ func (l *GetContactListLogic) GetContactList(req *types.ContactListReq) (*types.
 	if req.WxWxid == nil || (req.WxWxid != nil && !isAdmin) {
 		predicates = append(predicates, contact.OrganizationIDEQ(organizationId))
 	}
-	if req.Status == nil {
+	if req.Status != nil {
 		predicates = append(predicates, contact.StatusEQ(*req.Status))
 	}