journal id is now part of the db
This commit is contained in:
@@ -182,7 +182,10 @@ fn row_for_table(table: &ImportTable, positions: &[(usize, String)], row: &[Stri
|
||||
let value = csv_value(row.get(*index).map(String::as_str).unwrap_or_default(), data_type)?;
|
||||
data.insert(column.clone(), value);
|
||||
}
|
||||
Ok(PostTableDataBulkRow { data })
|
||||
Ok(PostTableDataBulkRow {
|
||||
data,
|
||||
journal_id: None,
|
||||
})
|
||||
}
|
||||
|
||||
fn render_loaded(result: Result<super::state::ImportPageState, LoadError>) -> Response {
|
||||
|
||||
Reference in New Issue
Block a user