Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chauff committed Nov 1, 2024
1 parent 33d50e6 commit 771d94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class urlModal extends Modal {
return Promise.resolve("");
}

const availableTags = app.metadataCache.getTags()//not part of .d.ts but works for now
const availableTags = this.app.metadataCache.getTags()//not part of .d.ts but works for now

Check failure on line 210 in main.ts

View workflow job for this annotation

GitHub Actions / build

Property 'getTags' does not exist on type 'MetadataCache'.
const tagsString = Object.keys(availableTags).join(' ');

const tag_prompt = `${prompts.get('generateTags')}\n\nAbstract: ${abstract}\n\nAvailable hashtags: ${tagsString}`;
Expand Down

0 comments on commit 771d94d

Please sign in to comment.