mattn / bsky

A cli application for bluesky social
269 stars 26 forks source link

Attempting to post text containing URLs that cannot be embedded will result in an error. #11

Closed hyuki closed 10 months ago

hyuki commented 1 year ago

Attempting to post text containing URLs that cannot be embedded will result in an error.

How to reproduce:

$ bsky -version
bsky version 0.0.46
$ cat _post.txt
bot test
https://mm.hyuki.net
$ cat _post.txt | bsky post --stdin
failed to create post: json: error calling MarshalJSON for type *util.LexiconTypeDecoder: json: error calling MarshalJSON for type *bsky.FeedPost_Embed: cannot marshal empty enum
mattn commented 12 months ago

最新版で試したところエラーなく動いている様です。

hyuki commented 12 months ago

Umm.. Is this outdated?

$ go version
go version go1.21.1 darwin/arm64
$ bsky --version
bsky version 0.0.46
mattn commented 12 months ago

暫定的に 0.0.47 を足してみました。確認頂けますか。

hyuki commented 12 months ago

It works! Thanks a lot!!