MCPcopy Index your code
hub / github.com/FeatureProbe/FeatureProbe / restoreToggle

Function restoreToggle

ui/src/services/toggle.ts:135–148  ·  view source on GitHub ↗
(projectKey: string, toggleKey: string)

Source from the content-addressed store, hash-verified

133};
134
135export const restoreToggle = async (projectKey: string, toggleKey: string) => {
136 const url = `${
137 API.restoreToggleURI
138 .replace(':projectKey', projectKey)
139 .replace(':toggleKey', toggleKey)
140 }`;
141
142 return request(url, {
143 method: 'PATCH',
144 headers: {
145 ...ApplicationJson()
146 },
147 });
148};
149
150export const getTags = async<T> (projectKey: string) => {
151 const url = `${

Callers 1

ToggleItemFunction · 0.90

Calls 2

ApplicationJsonFunction · 0.90
requestFunction · 0.85

Tested by

no test coverage detected