Wrong arguments order fixed.
This commit is contained in:
parent
26662acae9
commit
a74a0045a3
@ -148,7 +148,7 @@ module Locomotive
|
|||||||
self.site.accounts.each do |account|
|
self.site.accounts.each do |account|
|
||||||
next unless self.content_type.public_submission_accounts.map(&:to_s).include?(account._id.to_s)
|
next unless self.content_type.public_submission_accounts.map(&:to_s).include?(account._id.to_s)
|
||||||
|
|
||||||
Locomotive::Notifications.new_content_entry(account, self).deliver
|
Locomotive::Notifications.new_content_entry(self, account).deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user