MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / saveSettings

Function saveSettings

ui/src/services/project.ts:186–199  ·  view source on GitHub ↗
(projectKey: string, data: ISettings)

Source from the content-addressed store, hash-verified

184};
185
186export const saveSettings = async<T> (projectKey: string, data: ISettings) => {
187 const url = `${
188 API.projectSetting
189 .replace(':projectKey', projectKey)
190 }`;
191
192 return request<T>(url, {
193 method: 'PATCH',
194 headers: {
195 ...ApplicationJson()
196 },
197 body: JSON.stringify(data),
198 });
199};

Callers 1

ProjectSettingFunction · 0.90

Calls 2

ApplicationJsonFunction · 0.90
requestFunction · 0.85

Tested by

no test coverage detected