1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

[bug] notification not sent

notification sent to the project author when a collaborator has confirmed his participation
This commit is contained in:
Sylvain 2021-04-06 14:16:03 +02:00
parent cd2cc91373
commit e06f3beeab
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# Changelog Fab-manager
- Fix a bug: the notification sent to the project author when a collaborator has confirmed his participation is not sent
## v4.7.8 2021 April 02
- Updated mimemagic to 0.3.10 to fix [a build issue](https://github.com/mimemagicrb/mimemagic/issues/139)

View File

@ -29,7 +29,7 @@ class ProjectUser < ApplicationRecord
def notify_project_author_when_collaborator_valid
NotificationCenter.call type: 'notify_project_author_when_collaborator_valid',
receiver: project.author,
receiver: project.author.user,
attached_object: self
end
end