# HG changeset patch # User Mikael Berthe # Date 1508613491 -7200 # Node ID 485f5cfb437822d207d6765c4bb40e5ae62eec30 # Parent 21519d54dd4c003a65562bd258c037d9ca64e909 registerApp.ID is a JSON string with Mastodon v2 diff -r 21519d54dd4c -r 485f5cfb4378 app.go --- a/app.go Sat Oct 21 18:53:00 2017 +0200 +++ b/app.go Sat Oct 21 21:18:11 2017 +0200 @@ -16,7 +16,7 @@ ) type registerApp struct { - ID int64 `json:"id"` + ID int64 `json:"id,string"` ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` }