FYP: fix "ignore" response handling (it's not a json)
This commit is contained in:
parent
a31ea6417a
commit
35f0777320
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ const recsysFyp = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: { [X_LBRY_AUTH_TOKEN]: getAuthToken() },
|
headers: { [X_LBRY_AUTH_TOKEN]: getAuthToken() },
|
||||||
})
|
})
|
||||||
.then((response) => response.json())
|
|
||||||
.then((result) => result)
|
.then((result) => result)
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.log('FYP: ignore', { error, userId, gid, claimId });
|
console.log('FYP: ignore', { error, userId, gid, claimId });
|
||||||
|
|
Loading…
Reference in a new issue