diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-10-18 13:52:21 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-10-18 13:52:21 +0400 |
| commit | 2c39f7a6a1c3113337bc4e56b6e3cfa92f703fb3 (patch) | |
| tree | 01ceccb670f171c7bd12a5c0969c74572c5457e7 /webhook/src/handler/make_service.rs | |
| parent | 9023aa354902844b7d6100f55c3064afedd88966 (diff) | |
| parent | d55a128729ca94e727ce3a1ab4fb6af08d3cd109 (diff) | |
fix merge conflicts
Diffstat (limited to 'webhook/src/handler/make_service.rs')
| -rw-r--r-- | webhook/src/handler/make_service.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webhook/src/handler/make_service.rs b/webhook/src/handler/make_service.rs index deeb2fe..9e90436 100644 --- a/webhook/src/handler/make_service.rs +++ b/webhook/src/handler/make_service.rs @@ -7,10 +7,12 @@ use std::{ sync::Arc, task::{Context, Poll}, }; +use ed25519_dalek::PublicKey; pub struct MakeSvc { pub settings: Arc<Config>, pub nats: Arc<Connection>, + pub public_key: Arc<PublicKey> } impl<T> Service<T> for MakeSvc { @@ -26,6 +28,7 @@ impl<T> Service<T> for MakeSvc { ready(Ok(HandlerService { config: self.settings.clone(), nats: self.nats.clone(), + public_key: self.public_key.clone() })) } } |
