We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf81108 commit 5e04a25Copy full SHA for 5e04a25
sentry/src/routes/routers.rs
@@ -141,7 +141,11 @@ pub fn channels_router_axum<C: Locked + 'static>() -> Router {
141
get(get_spender_limits_axum::<C>).post(add_spender_leaf_axum::<C>),
142
)
143
.route("/all", get(get_all_spender_limits_axum::<C>))
144
- .layer(middleware::from_fn(authentication_required::<C, _>));
+ .layer(
145
+ // keeps the order from top to bottom!
146
+ ServiceBuilder::new()
147
+ .layer(middleware::from_fn(authentication_required::<C, _>)),
148
+ );
149
150
let channel_routes = Router::new()
151
.route(
0 commit comments