|
|
@ -11,16 +11,16 @@ export class FeaturesService { |
|
|
get = (providerName: string, providerKey: string) => |
|
|
get = (providerName: string, providerKey: string) => |
|
|
this.restService.request<any, GetFeatureListResultDto>({ |
|
|
this.restService.request<any, GetFeatureListResultDto>({ |
|
|
method: 'GET', |
|
|
method: 'GET', |
|
|
url: '/api/feature-management/features', |
|
|
url: `/api/feature-management/features`, |
|
|
params: { providerName, providerKey }, |
|
|
params: { providerName: providerName, providerKey: providerKey }, |
|
|
}, |
|
|
}, |
|
|
{ apiName: this.apiName }); |
|
|
{ apiName: this.apiName }); |
|
|
|
|
|
|
|
|
update = (providerName: string, providerKey: string, input: UpdateFeaturesDto) => |
|
|
update = (providerName: string, providerKey: string, input: UpdateFeaturesDto) => |
|
|
this.restService.request<any, void>({ |
|
|
this.restService.request<any, void>({ |
|
|
method: 'PUT', |
|
|
method: 'PUT', |
|
|
url: '/api/feature-management/features', |
|
|
url: `/api/feature-management/features`, |
|
|
params: { providerName, providerKey }, |
|
|
params: { providerName: providerName, providerKey: providerKey }, |
|
|
body: input, |
|
|
body: input, |
|
|
}, |
|
|
}, |
|
|
{ apiName: this.apiName }); |
|
|
{ apiName: this.apiName }); |