post is undefined?
This commit is contained in:
parent
5e3da9843e
commit
fb3d3b552b
2 changed files with 2 additions and 2 deletions
|
@ -205,7 +205,7 @@ export async function CreatePost(DID, Text, ContentWarning = undefined, Tags = [
|
|||
if (AddTags == true) {
|
||||
let Facets = [];
|
||||
for (let i of Tags) {
|
||||
let ThineIndex = tags.indexOf(i);
|
||||
let ThineIndex = Tags.indexOf(i);
|
||||
Facets.push({
|
||||
"index": {
|
||||
"byteStart": ThineIndex,
|
||||
|
|
|
@ -146,7 +146,7 @@ async function Post() {
|
|||
Textures = Textures + i + " ";
|
||||
}
|
||||
Post = await BlueskyAPI.GetPosts([Post.uri]);
|
||||
Post = Post.posts[0];
|
||||
Post = await Post.posts[0];
|
||||
if (Post.hasOwnProperty("reply")) {
|
||||
await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Textures, undefined, Tags, Post, Post.reply.root, true);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue