diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 22:48:40 +0400 | 
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2022-12-31 22:48:40 +0400 | 
| commit | 46fd26962ef55f8b557f7e36d3aee915a819c88c (patch) | |
| tree | 18038653ee532831aca0000afa7849924c2c63cc /exes/webhook/src/handler/make_service.rs | |
| parent | 0fcc68291a5f7526dbeffe33f4a84a649200e847 (diff) | |
add base of cache component
Diffstat (limited to 'exes/webhook/src/handler/make_service.rs')
| -rw-r--r-- | exes/webhook/src/handler/make_service.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/exes/webhook/src/handler/make_service.rs b/exes/webhook/src/handler/make_service.rs index 2774917..48672a1 100644 --- a/exes/webhook/src/handler/make_service.rs +++ b/exes/webhook/src/handler/make_service.rs @@ -1,7 +1,7 @@  use super::handler::HandlerService;  use crate::config::Config;  use hyper::service::Service; -use shared::nats_crate::Connection; +use shared::nats_crate::Client;  use std::{      future::{ready, Ready},      sync::Arc, @@ -11,7 +11,7 @@ use ed25519_dalek::PublicKey;  pub struct MakeSvc {      pub settings: Arc<Config>, -    pub nats: Arc<Connection>, +    pub nats: Arc<Client>,      pub public_key: Arc<PublicKey>  }  | 
