diff --git a/app/components/client/devprogram-scripts.js b/app/components/client/devprogram-scripts.js index d6ca388..8f5d9d6 100644 --- a/app/components/client/devprogram-scripts.js +++ b/app/components/client/devprogram-scripts.js @@ -64,7 +64,6 @@ function syncWithApi(data) { // eslint-disable-line no-unused-vars .then(response => response.json()) .then(result => { switch(true) { - case !result.success: case result.error === "this reward is limited to 1 per person": document.querySelector("developer-program").innerHTML = "

You have already claimed this reward. This reward is limited to ONE per person. Your enthusiasm is appreciated.

"; @@ -78,6 +77,8 @@ function syncWithApi(data) { // eslint-disable-line no-unused-vars default: console.log(data); // eslint-disable-line no-console + document.querySelector("developer-program").innerHTML = + "

The LBRY API might be down. Please try again later.

"; break; } })