Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/6593/fix send email for user in patch update status #426

Merged

Conversation

VasylyshynDmytro
Copy link
Contributor

Link on task from board

Summary Of Changes 🔥

added the logic of sending letters to the user if the status of the location is changed

image

Added

  • <detail item of what was added>
  • Code is up-to-date with the dev branch.
  • You've successfully built and run the tests locally.
  • There are new or updated unit tests validating the change.
  • JIRA/ Github Issue number & title in PR title (ISSUE-XXXX: Ticket title)
  • This template filled (above this section).
  • Sonar's report does not contain bugs, vulnerabilities, security issues, code smells ar duplication
  • NEED_REVIEW and READY_FOR_REVIEW labels are added.
  • All files reviewed before sending to reviewers

model.put(EmailConstants.LANGUAGE, user.getLanguage().getCode());

String template = createEmailTemplate(model, EmailConstants.PLACE_STATUS_CHANGE_PAGE);
sendEmail(dto.getEmail(), "Status of your place has been updated", template);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move "Status of your place has been updated" to a constant

@VasylyshynDmytro VasylyshynDmytro merged commit 573a7b3 into dev Dec 13, 2024
3 checks passed
@VasylyshynDmytro VasylyshynDmytro deleted the bug/6593/fix-send-email-for-user-in-PATCH-updateStatus branch December 13, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants