Make ScheduledAt a pointer.
This commit is contained in:
parent
9c7fc762f3
commit
4fb32b0b52
1 changed files with 7 additions and 7 deletions
|
@ -248,7 +248,7 @@ type Toot struct {
|
|||
Sensitive bool `json:"sensitive"`
|
||||
SpoilerText string `json:"spoiler_text"`
|
||||
Visibility string `json:"visibility"`
|
||||
ScheduledAt time.Time `json:"scheduled_at,omitempty"`
|
||||
ScheduledAt *time.Time `json:"scheduled_at,omitempty"`
|
||||
}
|
||||
|
||||
// Mention hold information for mention.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue