mirror of
https://github.com/sussy-code/smov.git
synced 2026-04-21 16:41:58 +00:00
Merge 1a11b5bdc9 into 8ba4e5fa3e
This commit is contained in:
commit
61646d095e
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