Correct the spelling of sensitive
This commit is contained in:
parent
2ccbcfe14d
commit
48920165ef
|
@ -220,7 +220,7 @@ func (c *Client) PostStatus(ctx context.Context, toot *Toot) (*Status, error) {
|
||||||
params.Set("visibility", fmt.Sprint(toot.Visibility))
|
params.Set("visibility", fmt.Sprint(toot.Visibility))
|
||||||
}
|
}
|
||||||
if toot.Sensitive {
|
if toot.Sensitive {
|
||||||
params.Set("senstitive", "true")
|
params.Set("sensitive", "true")
|
||||||
}
|
}
|
||||||
if toot.SpoilerText != "" {
|
if toot.SpoilerText != "" {
|
||||||
params.Set("spoiler_text", toot.SpoilerText)
|
params.Set("spoiler_text", toot.SpoilerText)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user