ita-social-projects / GreenCity

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

Closed HelenSotnik closed 2 weeks ago

HelenSotnik commented 2 weeks ago

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)

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
92.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud