forked from cybrespace/mastodon
		
	Fix new sign-up notification not working because of incorrect type name (#17629)
This commit is contained in:
		
							parent
							
								
									0db101ede2
								
							
						
					
					
						commit
						1c3e5e44e2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@ class BootstrapTimelineService < BaseService
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  def notify_staff!
 | 
					  def notify_staff!
 | 
				
			||||||
    User.staff.includes(:account).find_each do |user|
 | 
					    User.staff.includes(:account).find_each do |user|
 | 
				
			||||||
      NotifyService.new.call(user.account, :'admin.new_user', @source_account)
 | 
					      NotifyService.new.call(user.account, :'admin.sign_up', @source_account)
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue