Skip to content

Commit 3a42c30

Browse files
committed
refactor: remove use of origin_tag in register-signatures route
1 parent 4f0f351 commit 3a42c30

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))
@@ -42,7 +41,6 @@ mod handlers {
4241

4342
/// Register Signatures
4443
pub async fn register_signatures(
45-
origin_tag: Option<String>,
4644
message: RegisterSignatureMessage,
4745
logger: Logger,
4846
certifier_service: Arc<dyn CertifierService>,
@@ -120,7 +118,6 @@ mod handlers {
120118
mod tests {
121119
use anyhow::anyhow;
122120
use mithril_common::entities::ClientError;
123-
use mithril_common::MITHRIL_ORIGIN_TAG_HEADER;
124121
use std::sync::Arc;
125122
use warp::http::{Method, StatusCode};
126123
use warp::test::request;

0 commit comments

Comments
 (0)