quick changes to get it to maybe work?

This commit is contained in:
CatAClock 2025-07-18 09:55:20 -07:00
parent 3b6145c621
commit cb8ab08edb
2 changed files with 2 additions and 3 deletions

View file

@ -213,7 +213,7 @@ export async function CreatePost(DID, Text, ContentWarning = undefined, Tags = [
},
"features": {
"$type": "app.bsky.richtext.facet#tag",
"tag": i;
"tag": i
}
});
}

View file

@ -82,6 +82,7 @@ async function Post() {
}
// Bluesky posting.
if (localStorage.getItem(Variables.BlueskyAccessToken) != null) {
let Post;
let TempVisible;
// Adding tags
let Tags = TagsInputArea.value.split(";");
@ -111,7 +112,6 @@ async function Post() {
break;
}
if (website == "Bluesky") {
let Post;
if (JSON.parse(localStorage.getItem("post")).hasOwnProperty("reply")) {
if (WarningInputArea.value == "") {
Post = await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Text, undefined, Tags, JSON.parse(localStorage.getItem("post")).post, JSON.parse(localStorage.getItem("post")).reply.root);
@ -132,7 +132,6 @@ async function Post() {
TagsInputArea.value = "";
return;
} else if (website == "All") {
let Post;
if (WarningInputArea.value == "") {
Post = await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Text, undefined, Tags);
} else {