summaryrefslogtreecommitdiff
path: root/webhook/src/handler/make_service.rs
diff options
context:
space:
mode:
Diffstat (limited to 'webhook/src/handler/make_service.rs')
-rw-r--r--webhook/src/handler/make_service.rs3
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()
}))
}
}