aboutsummaryrefslogtreecommitdiff
path: root/api/internal/models/statistics.go
diff options
context:
space:
mode:
authorZach Berwaldt <zberwaldt@tutamail.com>2024-03-15 18:49:43 -0400
committerZach Berwaldt <zberwaldt@tutamail.com>2024-03-15 18:49:43 -0400
commit9cae9c1d2a0b4f7fa72f3075541b9ffafe1a7275 (patch)
tree960fa4f96a1328861a06d97180da8601af6855da /api/internal/models/statistics.go
parent8fab2d03bce82e4dee798ebffb1e93c557f62a4b (diff)
Add routes for preference, clean up and add types
Diffstat (limited to 'api/internal/models/statistics.go')
-rw-r--r--api/internal/models/statistics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/internal/models/statistics.go b/api/internal/models/statistics.go
index 457e6a0..7dceb3a 100644
--- a/api/internal/models/statistics.go
+++ b/api/internal/models/statistics.go
@@ -3,7 +3,7 @@ package models
3import "time" 3import "time"
4 4
5type Statistic struct { 5type Statistic struct {
6 ID int64 `json:"-"` 6 ID int64 `json:"id"`
7 Date time.Time `json:"date"` 7 Date time.Time `json:"date"`
8 User User `json:"user"` 8 User User `json:"user"`
9 Quantity int `json:"quantity"` 9 Quantity int `json:"quantity"`