Correct the spelling of sensitive

pull/80/head
Spotlight 2018-07-22 12:36:42 -05:00 committed by mattn
parent 2ccbcfe14d
commit 48920165ef
1 changed files with 1 additions and 1 deletions

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)