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 cb21b5b commit 5d8b0feCopy full SHA for 5d8b0fe
sentry/src/lib.rs
@@ -379,18 +379,18 @@ async fn channels_router<A: Adapter + 'static>(
379
CHANNEL_SPENDER_LEAF_AND_TOTAL_DEPOSITED.captures(&path),
380
method,
381
) {
382
- req = Chain::new()
383
- .chain(AuthRequired)
384
- .chain(ChannelLoad)
385
- .apply(req, app)
386
- .await?;
387
let param = RouteParams(vec![
388
caps.get(1)
389
.map_or("".to_string(), |m| m.as_str().to_string()), // channel ID
390
caps.get(2)
391
.map_or("".to_string(), |m| m.as_str().to_string()), // spender addr
392
]);
393
req.extensions_mut().insert(param);
+ req = Chain::new()
+ .chain(AuthRequired)
+ .chain(ChannelLoad)
+ .apply(req, app)
+ .await?;
394
395
get_spender_limits(req, app).await
396
} else {
0 commit comments