feat: Add support for sendgrid and logger notification providers (#7290)
* feat: Add support for sendgrid and logger notification providers * fix: changes based on PR review
This commit is contained in:
@@ -104,5 +104,23 @@ module.exports = {
|
||||
providers: [customFulfillmentProvider],
|
||||
},
|
||||
},
|
||||
[Modules.NOTIFICATION]: {
|
||||
/** @type {import('@medusajs/types').LocalNotificationServiceOptions} */
|
||||
options: {
|
||||
providers: [
|
||||
{
|
||||
resolve: "@medusajs/notification-local",
|
||||
options: {
|
||||
config: {
|
||||
"local-notification-provider": {
|
||||
name: "Local Notification Provider",
|
||||
channels: ["log", "email"],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user