diff --git a/src/grpc/gateway.rs b/src/grpc/gateway.rs index 985d51e8..64125f34 100644 --- a/src/grpc/gateway.rs +++ b/src/grpc/gateway.rs @@ -447,7 +447,7 @@ impl GatewayUpdatesStream { pub fn new( task_handle: JoinHandle<()>, rx: Receiver>, - network_id: i64, + network_id: Id, gateway_hostname: String, gateway_state: Arc>, pool: PgPool, diff --git a/src/grpc/interceptor.rs b/src/grpc/interceptor.rs index 75d25445..190d0f09 100644 --- a/src/grpc/interceptor.rs +++ b/src/grpc/interceptor.rs @@ -2,8 +2,8 @@ use tonic::{service::Interceptor, Status}; use crate::auth::{Claims, ClaimsType}; -/// Auth interceptor used by GRPC services. Verifies JWT token sent -/// in GRPC metadata under "authorization" key. +/// Auth interceptor used by gRPC services. Verifies JWT token sent +/// in gRPC metadata under "authorization" key. #[derive(Clone)] pub struct JwtInterceptor { claims_type: ClaimsType,