From 4d3830fcf445340c3aabff7aaaba333db130f23d Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 29 Aug 2020 10:08:15 +0200 Subject: [PATCH] Improve comments about new email hook Improve comment docs about newly accessible email hook. I believe this will fix the issue with docs generation. --- packages/email/email.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/email/email.js b/packages/email/email.js index c9425114fa..ed46eada8b 100644 --- a/packages/email/email.js +++ b/packages/email/email.js @@ -99,8 +99,10 @@ var smtpSend = function (transport, mail) { }; var sendHooks = []; + /** - * Hook that runs before email is sent. + * @summary Hook that runs before email is sent. + * @locus Server * * @param f {function} receives the arguments to Email.send and should return true to go * ahead and send the email (or at least, try subsequent hooks), or