mirror of
https://github.com/flibusta-apps/library_updater.git
synced 2025-12-06 15:45:36 +01:00
Fix
This commit is contained in:
@@ -146,6 +146,7 @@ impl FromVecExpression<Book> for Book {
|
||||
},
|
||||
year: match &value[10] {
|
||||
sql_parse::Expression::Integer(v) => v.0,
|
||||
sql_parse::Expression::Unary { .. } => 0,
|
||||
_ => panic!("Book.year"),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user