Update follow_service.rb
This commit is contained in:
parent
8483b62603
commit
962881a35d
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ class FollowService
|
|||
class << self
|
||||
def follow(entity, user, reason)
|
||||
|
||||
return unless is_tester(user)
|
||||
return unless user && is_tester(user)
|
||||
|
||||
return unless should_auto_follow(entity, user, reason)
|
||||
|
||||
|
|
Loading…
Reference in a new issue