summaryrefslogtreecommitdiff
path: root/internal/models
diff options
context:
space:
mode:
Diffstat (limited to 'internal/models')
-rw-r--r--internal/models/widget.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/models/widget.go b/internal/models/widget.go
index da13008..bf148fd 100644
--- a/internal/models/widget.go
+++ b/internal/models/widget.go
@@ -23,6 +23,7 @@ type WidgetItem struct {
// WidgetResponse is the full /api/widget response body.
type WidgetResponse struct {
- Now time.Time `json:"now"`
- Items []WidgetItem `json:"items"`
+ Now time.Time `json:"now"`
+ Items []WidgetItem `json:"items"`
+ BudgetStatus *BudgetStatus `json:"budget_status,omitempty"`
}