loom: add json stringify to body

This commit is contained in:
wukko 2024-05-29 12:52:37 +06:00
parent 16cd192a96
commit a2fc5ca6da
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -13,12 +13,12 @@ export default async function({ id }) {
"apollographql-client-version": "14c0b42", "apollographql-client-version": "14c0b42",
"x-loom-request-source": "loom_web_14c0b42", "x-loom-request-source": "loom_web_14c0b42",
}, },
body: { body: JSON.stringify({
force_original: false, force_original: false,
password: null, password: null,
anonID: null, anonID: null,
deviceID: null deviceID: null
} })
}) })
.then(r => r.status === 200 ? r.json() : false) .then(r => r.status === 200 ? r.json() : false)
.catch(() => {}); .catch(() => {});