(id: number)
| 5 | } |
| 6 | |
| 7 | export async function get(id: number) { |
| 8 | return fetchJSON<IUser>(`/api/users/${id}`, {}); |
| 9 | } |
| 10 | |
| 11 | export async function create(user: IUser, currentPassword: string) { |
| 12 | const res = await fetchURL(`/api/users`, { |
nothing calls this directly
no test coverage detected