Add Authorization header to deletion request

This commit is contained in:
jelveh
2026-05-13 17:21:40 -07:00
parent 0276420213
commit 84549a1c31
@@ -124,7 +124,10 @@ async function UIWindowFinalizeUserDeletion (options) {
return fetch(apiUrl, {
method: 'POST',
credentials: 'include',
headers: { 'Content-Type': 'application/json' },
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${puter.authToken}`,
},
body: JSON.stringify(body),
});
};