oops
This commit is contained in:
parent
18a7d70d51
commit
caa1cc7ef4
1 changed files with 3 additions and 1 deletions
|
@ -155,8 +155,9 @@ async function GetAccount() {
|
|||
let MastoProfile = await MastodonAPI.GetOwnAccount();
|
||||
// Get my followings on Mastodon.
|
||||
let MyMastodonFollows = await MastodonAPI.GetAccountFollows(MastoProfile.id);
|
||||
document.getElementsByClassName("Posts")[0].innerHTML += "FOLLOWS: <br/><br/>";
|
||||
for (let i of MyMastodonFollows) {
|
||||
document.getElementsByClassName("Posts")[0].innerHTML += MyMastodonFollows.acct + "<br/><br/>";
|
||||
document.getElementsByClassName("Posts")[0].innerHTML += i.acct + "<br/><br/>";
|
||||
}
|
||||
// Bluesky stuff.
|
||||
let BlueProfile = await BlueskyAPI.GetProfile(localStorage.getItem(Variables.BlueskyDID));
|
||||
|
@ -167,6 +168,7 @@ async function GetAccount() {
|
|||
AlternateAccountImage.setAttribute("src", BlueProfile.avatar);
|
||||
// Get my followings on Bsky
|
||||
let MyBlueskyFollows = await BlueskyAPI.GetFollows(localStorage.getItem(Variables.BlueskyDID));
|
||||
AccountPosts.innerHTML += "FOLLOWS: <br/><br/>";
|
||||
for (let i of MyBlueskyFollows.follows) {
|
||||
AccountPosts.innerHTML += i.handle + "<br/><br/>";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue