This commit is contained in:
JMARyA 2024-09-02 19:10:22 +02:00
parent 2a7e963869
commit f7fac9aec8
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 6 additions and 25 deletions

View file

@ -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()