Skip to content

Commit

Permalink
Fix request to create new city
Browse files Browse the repository at this point in the history
Fixes the POST request body to create a new city.

Signed-off-by: Rémy Greinhofer <[email protected]>
  • Loading branch information
rgreinho committed Sep 3, 2024
1 parent 40e0db9 commit b95914f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambdas/src/bna-save-results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async fn function_handler(event: LambdaEvent<TaskInput>) -> Result<(), Error> {
// Create the city.
let c = City {
country: country.clone().to_title_case(),
state: region.clone(),
state: region.clone().to_title_case(),
name: name.clone(),
..Default::default()
};
Expand Down

0 comments on commit b95914f

Please sign in to comment.