diff --git a/server/api/helpers/notifications/create-one.js b/server/api/helpers/notifications/create-one.js index 8603a08..d9242c8 100644 --- a/server/api/helpers/notifications/create-one.js +++ b/server/api/helpers/notifications/create-one.js @@ -46,6 +46,16 @@ async function sendEmailNotification({ notification, action }) { `

${action.data.text}

`, }; break; + case Action.Types.MOVE_CARD: + email = { + subject: `${actionUser.name} moved the card ${actionCard.name} from ${action.data.fromList.name} to ${action.data.toList.name} on ${actionBoard.name}`, + html: + `

${actionUser.name} moved the card ` + + `${actionCard.name} ` + + `from ${action.data.fromList.name} to ${action.data.toList.name} ` + + `on ${actionBoard.name}

`, + }; + break; default: break;