Make ScheduledAt a pointer.
This commit is contained in:
parent
977e6c550e
commit
c9e2d23df3
|
@ -256,7 +256,7 @@ type Toot struct {
|
||||||
Sensitive bool `json:"sensitive"`
|
Sensitive bool `json:"sensitive"`
|
||||||
SpoilerText string `json:"spoiler_text"`
|
SpoilerText string `json:"spoiler_text"`
|
||||||
Visibility string `json:"visibility"`
|
Visibility string `json:"visibility"`
|
||||||
ScheduledAt time.Time `json:"scheduled_at,omitempty"`
|
ScheduledAt *time.Time `json:"scheduled_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mention hold information for mention.
|
// Mention hold information for mention.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user