From e6de75fe220f460f87eee4a6b1a28bd347de1955 Mon Sep 17 00:00:00 2001 From: Arnis Lielturks Date: Fri, 26 Apr 2024 16:41:47 +0300 Subject: [PATCH] proper service used --- package.json | 2 +- src/services/emails.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;