fix: add docs to CSV date column name
This commit is contained in:
parent
99800b8814
commit
7739242136
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@ use crate::{
|
||||||
};
|
};
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use crate::utils::{parse_datetime_american, normalize_str, parse_normalize_phone};
|
use crate::utils::{normalize_str, parse_datetime_american, parse_normalize_phone};
|
||||||
use crate::sync_paheko::{GeneralizedAnswer, sync_paheko};
|
use crate::sync_paheko::{GeneralizedAnswer, sync_paheko};
|
||||||
use email_address::EmailAddress;
|
use email_address::EmailAddress;
|
||||||
use chrono::prelude::Datelike;
|
use chrono::prelude::Datelike;
|
||||||
|
@ -42,7 +42,7 @@ pub async fn sync_csv(
|
||||||
// raw row record directly from CSV
|
// raw row record directly from CSV
|
||||||
#[derive(Debug, serde::Deserialize)]
|
#[derive(Debug, serde::Deserialize)]
|
||||||
struct AnswerRecord {
|
struct AnswerRecord {
|
||||||
#[serde(rename = "Date")]
|
#[serde(rename = "Date (MM/JJ/AAAA)")]
|
||||||
date: String,
|
date: String,
|
||||||
#[serde(rename = "Email acheteur")]
|
#[serde(rename = "Email acheteur")]
|
||||||
email: String,
|
email: String,
|
||||||
|
|
Loading…
Reference in a new issue