diff options
Diffstat (limited to 'api/internal/models/auth.go')
-rw-r--r-- | api/internal/models/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/internal/models/auth.go b/api/internal/models/auth.go index 41344d5..fa7dbe4 100644 --- a/api/internal/models/auth.go +++ b/api/internal/models/auth.go | |||
@@ -3,7 +3,7 @@ package models | |||
3 | import "time" | 3 | import "time" |
4 | 4 | ||
5 | type Token struct { | 5 | type Token struct { |
6 | ID int64 `json:"-"` | 6 | ID int64 `json:"id"` |
7 | UserID int64 `json:"user_id"` | 7 | UserID int64 `json:"user_id"` |
8 | Token string `json:"token"` | 8 | Token string `json:"token"` |
9 | CreatedAt time.Time `json:"created_at"` | 9 | CreatedAt time.Time `json:"created_at"` |