Skip to content
This repository was archived by the owner on Feb 9, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config/config.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface Config {
app: {
port: number;
host?: string;
codeCommitedInfoUrl: string;
codeCommittedInfoUrl: string;
};
constants: {
admins: PublicKey[];
Expand Down
2 changes: 1 addition & 1 deletion src/realm-hub/realm-hub.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/realm-settings/realm-settings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<CodeCommittedSettings[]>((resp) => resp.json());
Expand Down
2 changes: 1 addition & 1 deletion src/realm-treasury/realm-treasury.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export class RealmTreasuryService {
() =>
fetch(
`${this.configService.get(
'app.codeCommitedInfoUrl',
'app.codeCommittedInfoUrl',
)}/realms/token-overrides.json`,
).then<TokenOverrides>((response) => response.json()),
(e) => new errors.Exception(e),
Expand Down
2 changes: 1 addition & 1 deletion src/realm/realm.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down