Fix: on mstdn.exe toot -i ID
: ID (and default) was int64 -> string
This commit is contained in:
parent
d38a3e6dfc
commit
aaeb9f1de2
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ func cmdToot(c *cli.Context) error {
|
|||
client := c.App.Metadata["client"].(*mastodon.Client)
|
||||
_, err := client.PostStatus(context.Background(), &mastodon.Toot{
|
||||
Status: toot,
|
||||
InReplyToID: mastodon.ID(fmt.Sprint(c.Int64("i"))),
|
||||
InReplyToID: mastodon.ID(fmt.Sprint(c.String("i"))),
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue