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.
2 parents 4b8a2ca + 6256829 commit 314b871Copy full SHA for 314b871
sentry/src/routes/routers.rs
@@ -141,7 +141,10 @@ 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().layer(middleware::from_fn(authentication_required::<C, _>)),
147
+ );
148
149
let channel_routes = Router::new()
150
.route(
0 commit comments