Enable update and create food
This commit is contained in:
@@ -15,6 +15,12 @@ type (
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
WailsFood1 struct {
|
||||
Data Food `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
}
|
||||
|
||||
WailsAggregateFood struct {
|
||||
Data []AggregatedFood `json:"data"`
|
||||
Success bool `json:"success"`
|
||||
|
Reference in New Issue
Block a user