fix
This commit is contained in:
parent
2a7e963869
commit
f7fac9aec8
3 changed files with 6 additions and 25 deletions
|
@ -51,7 +51,7 @@ async fn rocket() -> _ {
|
|||
let locations: JSONStore<Location> = JSONStore::new("./locations");
|
||||
|
||||
for location in locations.deref() {
|
||||
location.1.insert_overwrite().await.unwrap();
|
||||
location.1.clone().add(location.0).await;
|
||||
}
|
||||
|
||||
rocket::build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue