login.go
changeset 159 408aa794d9bb
parent 138 23d3a518d0ad
child 162 68df3a01e1a7
--- a/login.go	Sun Apr 30 20:42:02 2017 +0200
+++ b/login.go	Sun Apr 30 20:43:17 2017 +0200
@@ -17,7 +17,7 @@
 // UserToken represents a user token as returned by the Mastodon API
 type UserToken struct {
 	AccessToken string `json:"access_token"`
-	CreatedAt   int    `json:"created_at"`
+	CreatedAt   int64  `json:"created_at"`
 	Scope       string `json:"scope"`
 	TokenType   string `json:"token_type"`
 }