From 0ec0793fe5297c972837d16cac7e44b705eb478e Mon Sep 17 00:00:00 2001 From: nrusso Date: Mon, 20 Nov 2023 22:21:31 -0300 Subject: [PATCH] fix: dockerfile --- Dockerfile | 2 -- package.json | 2 +- src/Notification/Domain/Entities/EmailNotification.ts | 5 ----- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index b976ed02..dd11cdb2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,6 @@ COPY --chown=node:node jest.config.js ./ USER node -RUN --mount=type=cache,target=/home/node/app/node_modules pnpm install - ENTRYPOINT ["dumb-init", "pnpm", "dev"] FROM dev AS build diff --git a/package.json b/package.json index 40c11b86..01ba680e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-experience", - "version": "1.39.8", + "version": "2.0.1", "description": "", "scripts": { "dagger": "dagger run node dagger.mjs", diff --git a/src/Notification/Domain/Entities/EmailNotification.ts b/src/Notification/Domain/Entities/EmailNotification.ts index ffa85e26..009f073f 100644 --- a/src/Notification/Domain/Entities/EmailNotification.ts +++ b/src/Notification/Domain/Entities/EmailNotification.ts @@ -21,11 +21,6 @@ class EmailNotification extends Notification attachedFiles?: IFilesAttachments[]; data?: IEmailNotificationData; - constructor() - { - super(); - } - getAttachedFiles(): IFilesAttachments[] { return this.attachedFiles;