mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 17:43:08 -04:00
fix Vencloud not working on UserScript (#2213)
Co-authored-by: V <vendicated@riseup.net>
This commit is contained in:
parent
3ebde1aae8
commit
9179f55bf2
4 changed files with 8 additions and 12 deletions
|
@ -39,9 +39,7 @@ function validateUrl(url: string) {
|
|||
async function eraseAllData() {
|
||||
const res = await fetch(new URL("/v1/", getCloudUrl()), {
|
||||
method: "DELETE",
|
||||
headers: new Headers({
|
||||
Authorization: await getCloudAuth()
|
||||
})
|
||||
headers: { Authorization: await getCloudAuth() }
|
||||
});
|
||||
|
||||
if (!res.ok) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue