diff --git a/apps/indexer-admin/src/utils/notification.ts b/apps/indexer-admin/src/utils/notification.ts index eb93a759..72ed74e9 100644 --- a/apps/indexer-admin/src/utils/notification.ts +++ b/apps/indexer-admin/src/utils/notification.ts @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 export enum AccountNotification { - MetadataUpated = 'MetadataUpated', + MetadataUpdated = 'MetadataUpdated', ControllerUpdated = 'ControllerUpdated', } diff --git a/apps/indexer-admin/src/utils/queries.ts b/apps/indexer-admin/src/utils/queries.ts index d75d00bf..8c007208 100644 --- a/apps/indexer-admin/src/utils/queries.ts +++ b/apps/indexer-admin/src/utils/queries.ts @@ -107,7 +107,7 @@ export const START_PROJECT = gql` $memory: Int! $id: String! $projectType: Float! - $serviceEndpoints: [SeviceEndpointInput!]! + $serviceEndpoints: [ServiceEndpointInput!]! $rateLimit: Float! $hostType: String! = "system-managed" ) { diff --git a/apps/indexer-proxy/proxy/src/auth.rs b/apps/indexer-proxy/proxy/src/auth.rs index f307e928..c2d22297 100644 --- a/apps/indexer-proxy/proxy/src/auth.rs +++ b/apps/indexer-proxy/proxy/src/auth.rs @@ -1,6 +1,6 @@ // This file is part of SubQuery. -// Copyright (C) 2020-2024 SubQuery Pte Ltd authors & contributors +// Copyright (C) 2020-2025 SubQuery Pte Ltd authors & contributors // SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0 // This program is free software: you can redistribute it and/or modify @@ -51,7 +51,7 @@ pub struct Payload { pub consumer: Option, /// service agreement contract address pub agreement: Option, - /// deployment id for the proejct + /// deployment id for the project pub deployment_id: String, /// signature of user pub signature: String, @@ -67,7 +67,7 @@ struct Claims { pub indexer: String, /// agreement pub agreement: Option, - /// deployment id for the proejct + /// deployment id for the project pub deployment_id: String, /// issue timestamp pub iat: i64, diff --git a/apps/indexer-proxy/proxy/src/payg.rs b/apps/indexer-proxy/proxy/src/payg.rs index fb762fd9..188358a3 100644 --- a/apps/indexer-proxy/proxy/src/payg.rs +++ b/apps/indexer-proxy/proxy/src/payg.rs @@ -441,7 +441,7 @@ pub async fn post_query_signle_state( .map_err(|err| error!("Redis 1: {}", err)); } - // async to coordiantor + // async to coordinator let channel_id = state.channel_id; let mdata = format!( r#"mutation {{ @@ -889,7 +889,7 @@ pub async fn pay_channel(mut state: QueryState) -> Result { } } - // async to coordiantor + // async to coordinator let mdata = format!( r#"mutation {{ channelUpdate(