Skip to content

Commit

Permalink
Merge pull request #470 from bandada-infra/fix/update-api-sdk
Browse files Browse the repository at this point in the history
API SDK: Use the correct data object in the request
  • Loading branch information
vplasencia authored Apr 1, 2024
2 parents 2c5d0cd + a38eca0 commit ed64309
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libs/api-sdk/src/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ export async function updateGroup(

const newConfig: any = {
method: "put",
data: {
groupUpdateDetails
},
data: groupUpdateDetails,
...config
}

Expand Down Expand Up @@ -138,7 +136,7 @@ export async function updateGroups(
method: "put",
data: {
groupIds,
groupsUpdateDetails
groupsInfo: groupsUpdateDetails
},
...config
}
Expand Down

0 comments on commit ed64309

Please sign in to comment.