Skip to content

Commit

Permalink
update delete request email sending for all user addresses (#2000)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 13, 2024
1 parent 543b00d commit 237d7da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Changed
- **Samplesheets**
- Update REST API versioning (#1936)
- Update REST API views for OpenAPI compatibility (#1951)
- Send iRODS delete request emails to all addresses of user (#2000)

Removed
-------
Expand Down
4 changes: 2 additions & 2 deletions samplesheets/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ def accept_request(
path=irods_request.path,
)
send_generic_mail(
subject_body, message_body, [irods_request.user.email], request
subject_body, message_body, [irods_request.user], request
)

# Create app alert
Expand Down Expand Up @@ -1077,7 +1077,7 @@ def reject_request(
path=irods_request.path,
)
send_generic_mail(
subject_body, message_body, [irods_request.user.email], request
subject_body, message_body, [irods_request.user], request
)

# Create app alert
Expand Down

0 comments on commit 237d7da

Please sign in to comment.