Skip to content

Commit

Permalink
fix(edge_services): fix plan endpoints (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 30, 2024
1 parent fc282e7 commit 9e3bd41
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/clients/src/api/edge_services/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -816,22 +816,14 @@ export class API extends ParentAPI {
this.client.fetch<Plan>(
{
method: 'GET',
path: `/edge-services/v1alpha1/current-plan`,
urlParams: urlParams([
'project_id',
request.projectId ?? this.client.settings.defaultProjectId,
]),
path: `/edge-services/v1alpha1/current-plan/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`,
},
unmarshalPlan,
)

deleteCurrentPlan = (request: Readonly<DeleteCurrentPlanRequest> = {}) =>
this.client.fetch<void>({
method: 'DELETE',
path: `/edge-services/v1alpha1/current-plan`,
urlParams: urlParams([
'project_id',
request.projectId ?? this.client.settings.defaultProjectId,
]),
path: `/edge-services/v1alpha1/current-plan/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}`,
})
}

0 comments on commit 9e3bd41

Please sign in to comment.