diff --git a/JS/MastodonAPI.js b/JS/MastodonAPI.js index 3672d30..0680fc4 100644 --- a/JS/MastodonAPI.js +++ b/JS/MastodonAPI.js @@ -216,7 +216,7 @@ export async function CreateBlock(ID, IsBlocked) { return ""; } let request = localStorage.getItem(Variables.MastodonWebsite) + "/api/v1/accounts/" + ID; - if (IsReblogged == false) { + if (IsBlocked == false) { request += "/block"; } else { request += "/unblock";