(projectKey: string, toggleKey: string)
| 133 | }; |
| 134 | |
| 135 | export 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 | |
| 150 | export const getTags = async<T> (projectKey: string) => { |
| 151 | const url = `${ |
no test coverage detected