From f1c3106ae4c8e62c68a5e7d0ec365593a489ef71 Mon Sep 17 00:00:00 2001 From: "weakmap@gmail.com" Date: Sat, 30 Aug 2025 21:27:43 +0200 Subject: [PATCH] improve mailjet --- lib/notification/adapter/mailJet.js | 25 +++++++++++++++++++++---- package.json | 2 +- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/lib/notification/adapter/mailJet.js b/lib/notification/adapter/mailJet.js index bb84642..826e913 100755 --- a/lib/notification/adapter/mailJet.js +++ b/lib/notification/adapter/mailJet.js @@ -113,9 +113,26 @@ export const config = { description: 'MailJet is being used to send new listings via mail.', readme: markdown2Html('lib/notification/adapter/mailJet.md'), fields: { - apiPublicKey: { type: 'text', label: 'Public Api Key' }, - apiPrivateKey: { type: 'text', label: 'Private Api Key' }, - receiver: { type: 'email', label: 'Receiver Email' }, - from: { type: 'email', label: 'Sender email' }, + apiPublicKey: { + type: 'text', + label: 'Public Api Key', + description: 'The public api key needed to access this service.', + }, + apiPrivateKey: { + type: 'text', + label: 'Private Api Key', + description: 'The private api key needed to access this service.', + }, + receiver: { + type: 'email', + label: 'Receiver Email', + description: 'The email address (single one) which Fredy is using to send notifications to.', + }, + from: { + type: 'email', + label: 'Sender email', + description: + 'The email address from which Fredy send email. Beware, this email address needs to be verified by Sendgrid.', + }, }, }; diff --git a/package.json b/package.json index a7d7856..2f1564d 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fredy", - "version": "11.4.0", + "version": "11.4.2", "description": "[F]ind [R]eal [E]states [d]amn eas[y].", "scripts": { "prepare": "husky",