Skip to content

Commit

Permalink
Deactivate subscription seat endpoint should be PATCH
Browse files Browse the repository at this point in the history
Signed-off-by: Hung-Han (Henry) Chen <[email protected]>
  • Loading branch information
chenhunghan committed Jan 12, 2024
1 parent 1413620 commit 8eef933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ class UserService extends Base {
const { apiEndpointAddress, fetch } = this.lensPlatformClient;
const url = `${apiEndpointAddress}/users/${username}/subscription-seats/${license.subscriptionId}`;

await throwExpected(async () => fetch.delete(url), {
await throwExpected(async () => fetch.patch(url), {
404(error) {
const message = error?.body.message;

Expand Down

0 comments on commit 8eef933

Please sign in to comment.