Changed 2fa delete from body to query for code

as per best practices
This commit is contained in:
Jamie Curnow committed 2026-01-14 13:24:38 +10:00
1 parent d33bb02c74
commit c1ad7788f1
5 files changed
+28 -56

No files matched your search

-1
View File
@@ -156,7 +156,6 @@ export async function del({ url, params }: DeleteArgs, abortController?: AbortCo
const method = "DELETE";
const headers = {
...buildAuthHeader(),
[contentTypeHeader]: "application/json",
};
const signal = abortController?.signal;
const response = await fetch(apiUrl, { method, headers, signal });