fix: sandbox not building

This commit is contained in:
realaltffour 2020-08-01 13:46:58 +03:00
parent 29c7486ea5
commit ee20660ffd
No known key found for this signature in database
GPG Key ID: C1265D839D44DCB1

View File

@ -20,7 +20,7 @@ fn main() {
company.isin = "TEST".to_string();
company.company_name = "TEST".to_string();
company.primary_exchange = "TEST".to_string();
match create_company(&mut state, &company) {
match create_company(&mut state, company) {
Ok(()) => info!("created company"),
Err(err) => error!("Failed to create company with error: {}", err),
}
@ -30,7 +30,7 @@ fn main() {
Err(err) => error!("we must found the sacred company! err: {}", err),
}
match create_stock(&mut state, "test".to_string()) {
match create_stock(&mut state, "test") {
Ok(()) => info!("created stock table"),
Err(err) => error!("failed to create stock table {}", err),
}