diff --git a/package.json b/package.json index df2ba4c..487f854 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rootxpdev/medusa-email-plugin", - "version": "0.4.7", + "version": "0.4.8", "description": "Send emails when certain actions happens in medusa store", "main": "index.js", "repository": { diff --git a/src/services/emails.ts b/src/services/emails.ts index b69c1ec..f0ce931 100644 --- a/src/services/emails.ts +++ b/src/services/emails.ts @@ -1,5 +1,5 @@ import { - BaseService, + BaseNotificationService, Logger, OrderService, } from "medusa-interfaces"; @@ -15,7 +15,7 @@ interface EmailConfig { smtpPassword: string; } -class EmailsService extends BaseService { +class EmailsService extends BaseNotificationService { static identifier = 'emails'; static is_installed = true;