Skip to content

Commit db33b96

Browse files
committed
refactor: remove use of origin_tag in register-signatures route
1 parent 1a94816 commit db33b96

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mithril-aggregator/src/http_server/routes/signatures_routes.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ fn register_signatures(
1414
) -> impl Filter<Extract = (impl warp::Reply,), Error = warp::Rejection> + Clone {
1515
warp::path!("register-signatures")
1616
.and(warp::post())
17-
.and(middlewares::with_origin_tag(router_state))
1817
.and(warp::body::json())
1918
.and(middlewares::with_logger(router_state))
2019
.and(middlewares::with_certifier_service(router_state))
@@ -44,7 +43,6 @@ mod handlers {
4443

4544
/// Register Signatures
4645
pub async fn register_signatures(
47-
origin_tag: Option<String>,
4846
message: RegisterSignatureMessage,
4947
logger: Logger,
5048
certifier_service: Arc<dyn CertifierService>,
@@ -122,7 +120,6 @@ mod handlers {
122120
mod tests {
123121
use anyhow::anyhow;
124122
use mithril_common::entities::ClientError;
125-
use mithril_common::MITHRIL_ORIGIN_TAG_HEADER;
126123
use std::sync::Arc;
127124
use warp::http::{Method, StatusCode};
128125
use warp::test::request;

0 commit comments

Comments
 (0)