updated rocket in nym-api
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user