File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
packages/clients/src/api/edge_services/v1alpha1 Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -816,22 +816,14 @@ export class API extends ParentAPI {
816816 this . client . fetch < Plan > (
817817 {
818818 method : 'GET' ,
819- path : `/edge-services/v1alpha1/current-plan` ,
820- urlParams : urlParams ( [
821- 'project_id' ,
822- request . projectId ?? this . client . settings . defaultProjectId ,
823- ] ) ,
819+ path : `/edge-services/v1alpha1/current-plan/${ validatePathParam ( 'projectId' , request . projectId ?? this . client . settings . defaultProjectId ) } ` ,
824820 } ,
825821 unmarshalPlan ,
826822 )
827823
828824 deleteCurrentPlan = ( request : Readonly < DeleteCurrentPlanRequest > = { } ) =>
829825 this . client . fetch < void > ( {
830826 method : 'DELETE' ,
831- path : `/edge-services/v1alpha1/current-plan` ,
832- urlParams : urlParams ( [
833- 'project_id' ,
834- request . projectId ?? this . client . settings . defaultProjectId ,
835- ] ) ,
827+ path : `/edge-services/v1alpha1/current-plan/${ validatePathParam ( 'projectId' , request . projectId ?? this . client . settings . defaultProjectId ) } ` ,
836828 } )
837829}
You can’t perform that action at this time.
0 commit comments