Skip to content

fix: update volunteer cancellation and requester cancellation#251

Merged
mehmetcangurbuz08 merged 3 commits into
developmentfrom
backend/cancellation
Apr 7, 2026
Merged

fix: update volunteer cancellation and requester cancellation#251
mehmetcangurbuz08 merged 3 commits into
developmentfrom
backend/cancellation

Conversation

@berat-sayin

Copy link
Copy Markdown
Contributor

Volunteer Cancellation:

  • Volunteers now become unavailable when they cancel an assignment.
  • The associated help request returns to PENDING status and is auto-assigned to another available
    volunteer.
  • This is handled in backend/src/modules/availability/service.js within cancelMyAssignment.

Requester Cancellation:

  • Requesters can now set their help request status to CANCELLED.
  • This correctly triggers the removal of any active assignment, freeing the assigned volunteer.
  • The volunteer remains available and can be immediately auto-assigned to another pending request.
  • Changes were made to backend/src/modules/help-requests/validators.js, service.js, and repository.js, as
    well as backend/src/modules/availability/service.js and repository.js.

@mehmetcangurbuz08
mehmetcangurbuz08 merged commit cd81e86 into development Apr 7, 2026
2 checks passed
@mehmetcangurbuz08
mehmetcangurbuz08 deleted the backend/cancellation branch April 7, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants