diff --git a/src/repositories/embeds-repository.ts b/src/repositories/embeds-repository.ts index 47b44db..4547b92 100644 --- a/src/repositories/embeds-repository.ts +++ b/src/repositories/embeds-repository.ts @@ -71,7 +71,7 @@ export class EmbedsRepository { ) .filter(o => !!o) for (const embed of embeds) { - this.addEmbed(embed.path, notePath) + this.addEmbed(embed!.path, notePath) } } }