Update post2bsky.sh

This commit is contained in:
kx1t
2025-01-17 05:03:29 -05:00
committed by GitHub
parent d9217d0b37
commit dcb0dff7bd

View File

@@ -380,7 +380,7 @@ if [[ "$(jq -r '.uri' <<< "$response")" != "null" ]]; then
"${s6wrap[@]}" echo "BlueSky Post successful. Post available at https://bsky.app/profile/$handle/post/${uri##*/}. $ratelimit_str"
else
"${s6wrap[@]}" echo "BlueSky Posting Error: $response. $ratelimit_str"
{ echo "{ \"title\": \"BlueSky Posting Error\""
{ echo "{ \"title\": \"BlueSky Posting Error\" ,"
echo " \"response\": $response ,"
echo " \"ratelimit\": $ratelimit_str ,"
echo " \"postdata\": $post_data } ,"