Skip to content

Commit

Permalink
Merge pull request #168 from Viva-con-Agua/tk/develop
Browse files Browse the repository at this point in the history
readded finding of crew
  • Loading branch information
TobiKaestle authored Jan 31, 2024
2 parents 7438862 + dbcfdb2 commit 96c7543
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dao/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ func AspRoleNotification(ctx context.Context, i map[string]*models.AspBulkUserRo

func RoleAdminNotification(ctx context.Context, crewID *models.CrewParam) (err error) {
crew := new(models.Crew)
CrewsCollection.FindOne(ctx, crewID.Match(), crew)
mail := vcago.NewMailData("netzwerk@vivaconagua.org", "pool-backend", "role_network", "pool", "de")
mail.AddContent(models.RoleAdminContent(crew))
vcago.Nats.Publish("system.mail.job", mail)
Expand Down

0 comments on commit 96c7543

Please sign in to comment.