(path: string, body: unknown)
| 86 | } |
| 87 | |
| 88 | export function apiPut<T>(path: string, body: unknown): Promise<T> { |
| 89 | return request<T>(path, { method: "PUT", body: JSON.stringify(body) }); |
| 90 | } |
| 91 | |
| 92 | export function apiPost<T>(path: string, body?: unknown): Promise<T> { |
| 93 | return request<T>(path, { |
no test coverage detected