fix
This commit is contained in:
parent
48f00d8f6f
commit
2a7e963869
2 changed files with 4 additions and 2 deletions
|
@ -68,7 +68,9 @@ async fn rocket() -> _ {
|
|||
routes::item::transaction_route,
|
||||
routes::item::inventory_route,
|
||||
routes::item::variant_stat_route,
|
||||
routes::item::unique_field_route
|
||||
routes::item::unique_field_route,
|
||||
routes::item::location_info,
|
||||
routes::item::locations_info
|
||||
],
|
||||
)
|
||||
.manage(itemdb)
|
||||
|
|
|
@ -67,7 +67,7 @@ impl Transaction {
|
|||
consumed: None,
|
||||
origin: origin.map(std::string::ToString::to_string),
|
||||
location: if let Some(location) = location {
|
||||
reference_of!(Location, location)
|
||||
reference_of!(Location, location).await
|
||||
} else {
|
||||
None
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue