Skip to content

Commit

Permalink
Update tenant.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrBluestSky authored Sep 3, 2024
1 parent 1fdd86d commit 476b4b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chirpstack/src/api/tenant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use uuid::Uuid;
use chirpstack_api::api;
use chirpstack_api::api::tenant_service_server::TenantService;

// ./chirpstack/src/api/auth/validator.rs is super::auth::validator
// validator::RequestValidator is an empty struct with lots of traits connected to databases
use super::auth::{validator, AuthID};
use super::error::ToStatus;
use super::helpers;
Expand All @@ -23,6 +25,7 @@ impl Tenant {

#[tonic::async_trait]
impl TenantService for Tenant {
// I guess this function creates an instance of a tenant
async fn create(
&self,
request: Request<api::CreateTenantRequest>,
Expand Down

0 comments on commit 476b4b9

Please sign in to comment.