mirror of
https://github.com/p-stream/p-stream.git
synced 2026-05-10 04:40:53 +00:00
send delete on user delete
This commit is contained in:
parent
5568a92dc6
commit
3d3209f4aa
1 changed files with 1 additions and 0 deletions
|
|
@ -158,6 +158,7 @@ export async function deleteUser(
|
||||||
account: AccountWithToken,
|
account: AccountWithToken,
|
||||||
): Promise<UserResponse> {
|
): Promise<UserResponse> {
|
||||||
return ofetch<UserResponse>(`/users/${account.userId}`, {
|
return ofetch<UserResponse>(`/users/${account.userId}`, {
|
||||||
|
method: "DELETE",
|
||||||
headers: getAuthHeaders(account.token),
|
headers: getAuthHeaders(account.token),
|
||||||
baseURL: url,
|
baseURL: url,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue