The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
62
stars
80
forks
source link
Update event fix to avoid receiving imagesToDelete #7228
Update implementation of images deleting during update of event
Summary Of Changes :fire:
-Removed field 'imagesToDelete' in UpdateEventDto and in UpdateEventRequestDto
-Updated method update Event in EventServiceImpl
-Updated tests in EventServiceImplTest
-Removed field 'imagesToDelete' in SwaggerModel for this endpoint
-Added method findAllImagesLinksByEventId() in EventRepo
PR Checklist Forms
(to be filled out by PR submitter)
[x] Code is up-to-date with the dev branch.
[x] You've successfully built and run the tests locally.
[x] There are new or updated unit tests validating the change.
[x] JIRA/ Github Issue number & title in PR title (ISSUE-XXXX: Ticket title)
[x] This template filled (above this section).
[ ] Sonar's report does not contain bugs, vulnerabilities, security issues, code smells or duplication
[x] NEED_REVIEW and READY_FOR_REVIEW labels are added.
[x] All files reviewed before sending to reviewers
GreenCity PR
Update implementation of images deleting during update of event
Summary Of Changes :fire:
-Removed field 'imagesToDelete' in UpdateEventDto and in UpdateEventRequestDto -Updated method update Event in EventServiceImpl -Updated tests in EventServiceImplTest -Removed field 'imagesToDelete' in SwaggerModel for this endpoint -Added method findAllImagesLinksByEventId() in EventRepo
PR Checklist Forms
(to be filled out by PR submitter)
dev
branch.NEED_REVIEW
andREADY_FOR_REVIEW
labels are added.