Fix: Type of Notification.ID was int64. Change to ID

This commit is contained in:
Kaoru HAYAMA 2017-10-25 13:47:36 +09:00
parent 730317321a
commit abf6939992

View File

@ -9,7 +9,7 @@ import (
// Notification hold information for mastodon notification.
type Notification struct {
ID int64 `json:"id"`
ID ID `json:"id"`
Type string `json:"type"`
CreatedAt time.Time `json:"created_at"`
Account Account `json:"account"`