(url: string)
| 5 | } |
| 6 | |
| 7 | export async function get(url: string) { |
| 8 | url = removePrefix(url); |
| 9 | return fetchJSON<Share>(`/api/share${url}`); |
| 10 | } |
| 11 | |
| 12 | export async function remove(hash: string) { |
| 13 | await fetchURL(`/api/share/${hash}`, { |
nothing calls this directly
no test coverage detected