make camp form log the form itself
This commit is contained in:
parent
5f50a7dd9a
commit
c830c60e75
1 changed files with 1 additions and 0 deletions
|
@ -194,6 +194,7 @@ impl CampForm {
|
|||
|
||||
#[post("/api/camp-form")]
|
||||
pub async fn camp_form(MultipartForm(form): MultipartForm<CampForm>) -> HttpResponse {
|
||||
info!("Starting camp form work: {:?}", form);
|
||||
let full_name = format!("{} {}", form.first_name.0, form.last_name.0);
|
||||
let map = (&form).into();
|
||||
let future = store_camp_form(map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue