Skip to content

Commit

Permalink
axum 0.8.1 specifc updates - Path segments must not start with . For …
Browse files Browse the repository at this point in the history
…capture groups, use
  • Loading branch information
rsachdeva committed Jan 8, 2025
1 parent 6ee2088 commit bfbd5e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drive-deposits-grpc-server/src/service_router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub async fn app() -> Result<Router, Box<dyn std::error::Error>> {
let server_reflection = Builder::configure()
.register_encoded_file_descriptor_set(FILE_DESCRIPTOR_SET)
.build_v1alpha()?;
info!("reflection built using v1alpha since Postman gRPC still uses it as of tonic 0.12.2");
info!("reflection built using v1alpha since Postman gRPC still uses it as of tonic 0.12.2+");

let eb = create_eb().await?;
let delta = DriveDepositsCalculator {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ async fn main() -> Result<(), LambdaHttpError> {
get(by_level_query_portfolios_delta_growth),
)
.route(
"/portfolios/:pk_portfolio_uuid/by-level-for-banks/delta-growth",
"/portfolios/{pk_portfolio_uuid}/by-level-for-banks/delta-growth",
get(by_level_query_banks_delta_growth),
)
.route(
"/portfolios/:pk_portfolio_uuid/by-level-for-deposits/delta-growth",
"/portfolios/{pk_portfolio_uuid}/by-level-for-deposits/delta-growth",
get(by_level_query_deposits_delta_growth),
)
.route(
"/portfolios/:pk_portfolio_uuid/by-level-for-deposits/maturity-date",
"/portfolios/{pk_portfolio_uuid}/by-level-for-deposits/maturity-date",
get(by_level_query_deposits_maturity_date),
)
.with_state(db_handler);
Expand Down

0 comments on commit bfbd5e9

Please sign in to comment.