From f5edb325d5211a8f5d3a00403080277c8f9c5695 Mon Sep 17 00:00:00 2001 From: Nigel Breslaw Date: Sun, 12 May 2024 14:42:59 +0300 Subject: [PATCH] refactor: use new path to custom def (#1610) --- native/app/core/BungieDefinitions.ts | 2 +- native/app/utilities/Helpers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/native/app/core/BungieDefinitions.ts b/native/app/core/BungieDefinitions.ts index 64657ec44..04b713ce9 100644 --- a/native/app/core/BungieDefinitions.ts +++ b/native/app/core/BungieDefinitions.ts @@ -7,7 +7,7 @@ export type DefinitionKey = "DestinySocketCategoryDefinition" | "DestinyStatGrou // The self hosted minified JSON response definition // ------------------------------- -const MINI_ITEM_DEFINITION_VERSION = 8; +const MINI_ITEM_DEFINITION_VERSION = 9; export const ItemResponseSchema = object({ helpers: object( diff --git a/native/app/utilities/Helpers.ts b/native/app/utilities/Helpers.ts index 2a96f3600..78f483efb 100644 --- a/native/app/utilities/Helpers.ts +++ b/native/app/utilities/Helpers.ts @@ -21,7 +21,7 @@ export function getCustomItemDefinition(language = "en"): Promise { }; return new Promise((resolve, reject) => { - fetch(`https://app.guardianghost.com/json/1/${language}.json`, requestOptions) + fetch(`https://app.guardianghost.com/json/${language}.json`, requestOptions) .then((response) => { if (!response.ok) { console.error(response);