Fix: Type of Notification.ID was int64. Change to ID
This commit is contained in:
parent
730317321a
commit
abf6939992
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue