Add quotes to payload when adding user to organization

Fixes #43812


(cherry picked from commit 0b2d673cb70476369367774a5eacf93700b8537c)

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
This commit is contained in:
Stan Silvert 2025-11-18 16:22:33 -05:00 committed by GitHub
parent 3442d9b087
commit 1e48f9e512
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ export const Members = () => {
selectedRows.map((user) =>
adminClient.organizations.addMember({
orgId,
userId: user.id!,
userId: `"${user.id!}"`,
}),
),
);

View File

@ -191,7 +191,7 @@ export const Organizations = ({ user }: OrganizationProps) => {
return shouldJoin
? adminClient.organizations.addMember({
orgId: org.id!,
userId: id!,
userId: `"${user.id!}"`,
})
: adminClient.organizations.inviteExistingUser(
{ orgId: org.id! },