From 27b8bf11f3cd107668c0a7f01936668e39b9ab8b Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 02:58:08 +0300 Subject: [PATCH 1/6] config.module.ts --- src/config/config.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.module.ts b/src/config/config.module.ts index ad09dfe..7b4e492 100644 --- a/src/config/config.module.ts +++ b/src/config/config.module.ts @@ -18,7 +18,7 @@ import { ConfigService } from './config.service'; app: { port, host: process.env.HOST, - codeCommitedInfoUrl: process.env.CODE_COMMITED_INFO_URL || 'https://app.realms.today', + codeCommittedInfoUrl: process.env.CODE_COMMITTED_INFO_URL || 'https://app.realms.today', }, constants: { admins: process.env.ADMINS From 48fe16d5f939a655eda2ea33931d4ae3aef1c768 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 02:59:43 +0300 Subject: [PATCH 2/6] config.service.ts --- src/config/config.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/config.service.ts b/src/config/config.service.ts index 39d5892..99e9a7a 100644 --- a/src/config/config.service.ts +++ b/src/config/config.service.ts @@ -7,7 +7,7 @@ export interface Config { app: { port: number; host?: string; - codeCommitedInfoUrl: string; + codeCommittedInfoUrl: string; }; constants: { admins: PublicKey[]; From 5b932da4af483dd27a038243bbb259e1e1d1a49c Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 03:01:36 +0300 Subject: [PATCH 3/6] realm-settings.service.ts --- src/realm-settings/realm-settings.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm-settings/realm-settings.service.ts b/src/realm-settings/realm-settings.service.ts index c26e577..fcc912a 100644 --- a/src/realm-settings/realm-settings.service.ts +++ b/src/realm-settings/realm-settings.service.ts @@ -44,7 +44,7 @@ export class RealmSettingsService { fetchAllCodeCommittedSettings = this.staleCacheService.dedupe( async (environment: Environment) => { return fetch( - `${this.configService.get('app.codeCommitedInfoUrl')}/realms/${ + `${this.configService.get('app.codeCommittedInfoUrl')}/realms/${ environment === 'mainnet' ? 'mainnet-beta' : 'devnet' }.json`, ).then((resp) => resp.json()); From 567a9a706ab715e4e257a8e8e3e4f5b0896696f6 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 03:04:21 +0300 Subject: [PATCH 4/6] realm.service.ts --- src/realm/realm.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm/realm.service.ts b/src/realm/realm.service.ts index 04fecd4..c86b2e8 100644 --- a/src/realm/realm.service.ts +++ b/src/realm/realm.service.ts @@ -317,7 +317,7 @@ export class RealmService { iconUrl: settings.ogImage ? normalizeCodeCommittedUrl( settings.ogImage, - this.configService.get('app.codeCommitedInfoUrl'), + this.configService.get('app.codeCommittedInfoUrl'), ) : undefined, instagramUrl: settings.instagram, From e741b9d7c2eae7d95a224dbb4ebe9782db5c5191 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 03:06:35 +0300 Subject: [PATCH 5/6] realm-hub.service.ts --- src/realm-hub/realm-hub.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm-hub/realm-hub.service.ts b/src/realm-hub/realm-hub.service.ts index 2484c59..47db06b 100644 --- a/src/realm-hub/realm-hub.service.ts +++ b/src/realm-hub/realm-hub.service.ts @@ -133,7 +133,7 @@ export class RealmHubService { return cached; } - const url = this.configService.get('app.codeCommitedInfoUrl') + '/realms/about.json'; + const url = this.configService.get('app.codeCommittedInfoUrl') + '/realms/about.json'; const resp = await fetch(url); const allInfo: { [address: string]: CodeCommittedHubInfo } = await resp.json(); From cdb82c75d403fcf83d3d3e8a84ad5e758c87c584 Mon Sep 17 00:00:00 2001 From: Pavel Date: Sat, 23 Nov 2024 03:12:33 +0300 Subject: [PATCH 6/6] realm-treasury.service.ts --- src/realm-treasury/realm-treasury.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/realm-treasury/realm-treasury.service.ts b/src/realm-treasury/realm-treasury.service.ts index 9b0c0c2..f13eccb 100644 --- a/src/realm-treasury/realm-treasury.service.ts +++ b/src/realm-treasury/realm-treasury.service.ts @@ -204,7 +204,7 @@ export class RealmTreasuryService { () => fetch( `${this.configService.get( - 'app.codeCommitedInfoUrl', + 'app.codeCommittedInfoUrl', )}/realms/token-overrides.json`, ).then((response) => response.json()), (e) => new errors.Exception(e),