You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the response code is checked against 404 to see if the note cannot be found, but Misskey returns a 400 when no note is found. See https://misskey.io/api-doc#operation/i/unpin for API reference.
The text was updated successfully, but these errors were encountered:
Hi!
You're absolutely right!
I completely missed this on my own testing as the end result was the same on my end due to another bug 😅 (so the bot gave up unpinning it and the post to unpin was already deleted, so no harm no foul there).
Thanks for bringing it to my attention!
I have committed the change (and the fix for the another bug) to the develop branch: 85cfbed
And I also have published it as a release candidate v1.2.1rc2, which anyone interested or who needs it right now can install like so:
At
pleroma-bot/pleroma_bot/_pin.py
Line 71 in 9a64891
The text was updated successfully, but these errors were encountered: