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

pull/63/head
Kaoru HAYAMA 2017-10-25 13:47:36 +09:00
parent 730317321a
commit abf6939992
1 changed files with 1 additions and 1 deletions

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"`