send delete on user delete

This commit is contained in:
Pas 2025-03-13 10:10:46 -06:00
parent 5568a92dc6
commit 3d3209f4aa

View file

@ -158,6 +158,7 @@ export async function deleteUser(
account: AccountWithToken,
): Promise<UserResponse> {
return ofetch<UserResponse>(`/users/${account.userId}`, {
method: "DELETE",
headers: getAuthHeaders(account.token),
baseURL: url,
});