diff --git a/build/parser.mjs b/build/parser.mjs index 384c7797c..7c889d343 100644 --- a/build/parser.mjs +++ b/build/parser.mjs @@ -642,6 +642,7 @@ class Parser { else if (item.type === 'Ship Decoration') item.category = 'Skins'; else if (item.type === 'Gem') item.category = 'Resources'; else if (item.type === 'Plant') item.category = 'Resources'; + else if (item.type === 'Relic') item.category = 'Relics'; else item.category = 'Misc'; break; diff --git a/build/scraper.mjs b/build/scraper.mjs index d87e4c4a5..9ca236ff4 100644 --- a/build/scraper.mjs +++ b/build/scraper.mjs @@ -31,6 +31,7 @@ class Scraper { // If this call is successful, it means that the origin server is available. await this.fetchEndpoints(true, 'en'); } catch (err) { + console.error(err); // Origin server not available, fall back to content server this.originServerAvailable = false; console.warn( diff --git a/index.d.ts b/index.d.ts index e733583b0..eb84616be 100755 --- a/index.d.ts +++ b/index.d.ts @@ -303,8 +303,7 @@ declare module 'warframe-items' { tradable: true; drops?: Drop[]; } - interface EmptyRelic extends Omit { - category: 'Misc'; + interface EmptyRelic extends Omit { tradable: false; locations: []; rewards: [];