Correct the spelling of sensitive

This commit is contained in:
Spotlight 2018-07-22 12:36:42 -05:00 committed by mattn
parent 2ccbcfe14d
commit 48920165ef

View File

@ -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)