Address code review findings in relay fetch and iam

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Sacha Al Himdani
2026-05-12 18:40:36 +02:00
parent fc24306cd8
commit a67f2433b1
4 changed files with 8 additions and 12 deletions

View File

@@ -241,7 +241,7 @@ func NewOrganizationService(svc *Service) *OrganizationService {
return &OrganizationService{Service: svc}
}
func (s *OrganizationService) UpdateMempership(
func (s *OrganizationService) UpdateMembership(
ctx context.Context,
organizationID gid.GID,
membershipID gid.GID,
@@ -797,10 +797,6 @@ func (s *OrganizationService) UpdateOrganization(ctx context.Context, organizati
organization.Name = *req.Name
}
if req.Name != nil {
organization.Name = *req.Name
}
if req.Description != nil {
organization.Description = *req.Description
}