diff options
Diffstat (limited to 'types/tvdb.go')
| -rw-r--r-- | types/tvdb.go | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/types/tvdb.go b/types/tvdb.go index 1b6e81a..6988fea 100644 --- a/types/tvdb.go +++ b/types/tvdb.go @@ -1,10 +1,12 @@ package types +type TMDBAuthData struct { + Token string `json:"token"` +} + type TVDBAuthResponse struct { - Status string `json:"status"` - Data struct { - Token string `json:"token"` - } `json:"data"` + Status string `json:"status"` + Data TMDBAuthData `json:"data"` } type TVDBEpisode struct { |
