From d9adc53d3709145bc07ec40813d709d3bfc80e75 Mon Sep 17 00:00:00 2001 From: Dotan Simha Date: Tue, 30 Jan 2024 12:05:20 +0200 Subject: [PATCH] fix wasm build --- plugins/jwt_auth/src/jwks_provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jwt_auth/src/jwks_provider.rs b/plugins/jwt_auth/src/jwks_provider.rs index 5c26acc4..9432de87 100644 --- a/plugins/jwt_auth/src/jwks_provider.rs +++ b/plugins/jwt_auth/src/jwks_provider.rs @@ -90,7 +90,7 @@ impl JwksProvider { match &self.config { JwksProviderSourceConfig::Remote { prefetch, .. } => match prefetch { Some(prefetch) => { - if prefetch { + if *prefetch { tracing::warn!("jwks prefetching is not supported on wasm32, ignoring"); }