Skip to content

Commit

Permalink
Add missed async
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeigi committed Oct 24, 2024
1 parent 5b1b30f commit c27be87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const emailAfterNewCommentHook: CollectionAfterChangeHook = async ({ doc,

const textContent = extractTextContent(comment.content) || '';

const relativeCommentUrl = resolveCommentsUrl(comment);
const relativeCommentUrl = await resolveCommentsUrl(comment);
// TODO: Join the url below
const absoluteCommentUrl = BASE_URL + relativeCommentUrl;

Expand Down

0 comments on commit c27be87

Please sign in to comment.