Skip to content

Commit

Permalink
Add closed and added fields to API
Browse files Browse the repository at this point in the history
  • Loading branch information
geertw committed Jul 16, 2022
1 parent 46f6539 commit 9de48b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ func materialToJSON(material models.Material, language string, verbose bool) map
"number": material.NormalizedNumber(),
"position": material.Position,
"remains_behind": material.RemainsBehind,
"closed": material.Closed,
"added": material.Added,
"destination": material.DestinationActual.NameLong,
"destination_code": material.DestinationActual.Code,
}
Expand Down

0 comments on commit 9de48b7

Please sign in to comment.