diff --git a/nauthz_server_example/src/main.rs b/nauthz_server_example/src/main.rs index fb0fbce..df5de84 100644 --- a/nauthz_server_example/src/main.rs +++ b/nauthz_server_example/src/main.rs @@ -47,7 +47,7 @@ impl Authorization for EventAuthz { async fn main() -> Result<(), Box> { let addr = "[::1]:50051".parse().unwrap(); - // A simple authorization engine that allows kinds 1, 2, and 3. + // A simple authorization engine that allows kinds 0-3 let checker = EventAuthz { allowed_kinds: vec![0,1,2,3], };