Fix: Type of Notification.ID was int64. Change to ID
parent
730317321a
commit
abf6939992
|
@ -9,7 +9,7 @@ import (
|
||||||
|
|
||||||
// Notification hold information for mastodon notification.
|
// Notification hold information for mastodon notification.
|
||||||
type Notification struct {
|
type Notification struct {
|
||||||
ID int64 `json:"id"`
|
ID ID `json:"id"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
Account Account `json:"account"`
|
Account Account `json:"account"`
|
||||||
|
|
Loading…
Reference in New Issue