pub async fn get_series_for_state(
conn: &mut PgConnection,
state: CreditRegistrationState,
from: NaiveDate,
to: NaiveDate,
) -> ModelResult<Vec<CreditRegistrationDailySnapshot>>pub async fn get_series_for_state(
conn: &mut PgConnection,
state: CreditRegistrationState,
from: NaiveDate,
to: NaiveDate,
) -> ModelResult<Vec<CreditRegistrationDailySnapshot>>