Skip to content

Commit

Permalink
enable html in emails
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Aug 2, 2023
1 parent 13ddb01 commit 1f145f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -571,10 +571,10 @@ public boolean requestAccess(DataFile dataFile, GuestbookResponse gbr){
public void sendRequestFileAccessNotification(Dataset dataset, Long fileId, AuthenticatedUser requestor) {
Timestamp ts = new Timestamp(new Date().getTime());
permissionService.getUsersWithPermissionOn(Permission.ManageDatasetPermissions, dataset).stream().forEach((au) -> {
userNotificationService.sendNotification(au, ts, UserNotification.Type.REQUESTFILEACCESS, fileId, null, requestor, false);
userNotificationService.sendNotification(au, ts, UserNotification.Type.REQUESTFILEACCESS, fileId, null, requestor, true);
});
//send the user that requested access a notification that they requested the access
userNotificationService.sendNotification(requestor, ts, UserNotification.Type.REQUESTEDFILEACCESS, fileId, null, requestor, false);
userNotificationService.sendNotification(requestor, ts, UserNotification.Type.REQUESTEDFILEACCESS, fileId, null, requestor, true);

}

Expand Down

0 comments on commit 1f145f8

Please sign in to comment.