fixed something and added resend in en.json

This commit is contained in:
lsnnt 2025-12-30 13:15:33 +05:30
parent 7578f55b94
commit 761ef68c29
4 changed files with 659 additions and 766 deletions

1414
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ class Resend extends NotificationProvider {
try {
let config = {
headers: {
Authorization: `Bearer ${notification.longLivedAccessToken}`,
Authorization: `Bearer ${notification.resendApiKey}`,
"Content-Type": "application/json",
},
};

View File

@ -168,7 +168,7 @@ const NotificationFormList = {
"WPush": WPush,
"SendGrid": SendGrid,
"Brevo": Brevo,
"Resend":Resend,
"Resend": Resend,
"YZJ": YZJ,
"SMSPlanet": SMSPlanet,
"Webpush": Webpush,

View File

@ -1183,6 +1183,13 @@
"brevoSeparateMultipleEmails": "Separate multiple email addresses with commas",
"brevoSubject": "Subject",
"brevoLeaveBlankForDefaultSubject": "leave blank for default subject",
"resendApiKey": "Resend API Key",
"resendApiHelp": "Create an api key here {0}",
"resendFromName": "From Name",
"resendFromEmail": "From Email",
"resendLeaveBlankForDefaultName": "leave blank for default name",
"resendToEmail": "To Email",
"resendSubject": "Subject",
"pingCountLabel": "Max Packets",
"pingCountDescription": "Number of packets to send before stopping",
"pingNumericLabel": "Numeric Output",