diff --git a/apps.go b/apps.go index 6d7552f..301fa6f 100644 --- a/apps.go +++ b/apps.go @@ -27,7 +27,7 @@ type AppConfig struct { // Application is mastodon application. type Application struct { - ID int64 `json:"id"` + ID ID `json:"id"` RedirectURI string `json:"redirect_uri"` ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` diff --git a/apps_test.go b/apps_test.go index bab20bf..f62bf15 100644 --- a/apps_test.go +++ b/apps_test.go @@ -26,7 +26,7 @@ func TestRegisterApp(t *testing.T) { fmt.Fprintln(w, `