diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-16 14:14:39 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-16 14:14:39 -0600 |
| commit | d2b6a63d83877ff1efd8437be0bf662e9d65815a (patch) | |
| tree | dfe814d8031f5834f32fd8c124ee9abb56185db0 /src/authorization | |
| parent | 034cb934375e789a54a22c34b37426ffe9affd4b (diff) | |
test: fix failing tests
Diffstat (limited to 'src/authorization')
| -rw-r--r-- | src/authorization/check_service.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/authorization/check_service.rs b/src/authorization/check_service.rs index 0f29f0b9..5ee12669 100644 --- a/src/authorization/check_service.rs +++ b/src/authorization/check_service.rs @@ -16,7 +16,9 @@ impl CheckService { } #[tonic::async_trait] -impl envoy_types::pb::envoy::service::auth::v3::authorization_server::Authorization for CheckService { +impl envoy_types::pb::envoy::service::auth::v3::authorization_server::Authorization + for CheckService +{ async fn check( &self, request: Request<CheckRequest>, @@ -34,7 +36,7 @@ impl envoy_types::pb::envoy::service::auth::v3::authorization_server::Authorizat } else { Ok(Response::new(CheckResponse { status: Some(envoy_types::pb::google::rpc::Status { - code: 7, + code: 16, message: "Unauthorized".to_string(), details: vec![], }), |
