updated rocket in nym-api

This commit is contained in:
Jędrzej Stuczyński
2024-01-26 17:27:33 +00:00
parent 0f9bd648a1
commit f04d1fea56
8 changed files with 5 additions and 23 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ impl<'r> FromRequest<'r> for LocalRequest {
"Received a request from {:?} for a local-only route",
request.client_ip()
);
Outcome::Failure((Status::Unauthorized, NonLocalRequestError))
Outcome::Error((Status::Unauthorized, NonLocalRequestError))
}
}
}
-3
View File
@@ -1,9 +1,6 @@
// Copyright 2021-2023 - Nym Technologies SA <contact@nymtech.net>
// SPDX-License-Identifier: GPL-3.0-only
// due to the macro expansion of rather old rocket macros...
#![allow(unused_imports)]
use super::helpers::_get_gateways_detailed;
use super::NodeStatusCache;
use crate::node_status_api::helpers::{