Skip to content

Commit

Permalink
fix: create and udpate api not adding tags
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>
  • Loading branch information
cre8ivejp committed Jan 16, 2025
1 parent fa82fb2 commit ff23111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/account/api/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (s *AccountService) CreateAccountV2(
req.Command.LastName,
req.Command.Language,
req.Command.AvatarImageUrl,
req.Tags,
req.Command.Tags,
req.OrganizationId,
req.Command.OrganizationRole,
req.Command.EnvironmentRoles,
Expand Down Expand Up @@ -511,6 +511,9 @@ func (s *AccountService) getUpdateAccountV2Commands(req *accountproto.UpdateAcco
if req.ChangeAvatarCommand != nil {
commands = append(commands, req.ChangeAvatarCommand)
}
if req.ChangeTagsCommand != nil {
commands = append(commands, req.ChangeTagsCommand)
}
if req.ChangeOrganizationRoleCommand != nil {
commands = append(commands, req.ChangeOrganizationRoleCommand)
}
Expand Down

0 comments on commit ff23111

Please sign in to comment.