Skip to content

Commit af4df1f

Browse files
authored
Remove unused warning. (#831)
Signed-off-by: David Calavera <[email protected]>
1 parent 0d92dd3 commit af4df1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lambda-http/src/request.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ impl RequestContext {
438438
Self::ApiGatewayV2(ag) => ag.authorizer.as_ref(),
439439
#[cfg(feature = "apigw_websockets")]
440440
Self::WebSocket(ag) => Some(&ag.authorizer),
441+
#[cfg(any(feature = "alb", feature = "pass_through"))]
441442
_ => None,
442443
}
443444
}

0 commit comments

Comments
 (0)