FYP: fix "ignore" response handling (it's not a json)

This commit is contained in:
infinite-persistence 2022-03-17 22:20:57 +08:00 committed by Thomas Zarebczan
parent a31ea6417a
commit 35f0777320

View file

@ -58,7 +58,6 @@ const recsysFyp = {
method: 'POST',
headers: { [X_LBRY_AUTH_TOKEN]: getAuthToken() },
})
.then((response) => response.json())
.then((result) => result)
.catch((error) => {
console.log('FYP: ignore', { error, userId, gid, claimId });