update
This commit is contained in:
parent
e7fe303941
commit
6f9048e5b1
6 changed files with 92 additions and 56 deletions
|
@ -35,6 +35,7 @@ impl Validate for Location {
|
|||
impl ToAPI for Location {
|
||||
async fn api(&self) -> serde_json::Value {
|
||||
json!({
|
||||
"id": self._id,
|
||||
"name": self.name,
|
||||
"parent": self.parent,
|
||||
"conditions": self.conditions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue