Skip to content

Commit beb4100

Browse files
committed
Merge branch 'main' of github.com:excid3/noticed
2 parents f200db6 + a210447 commit beb4100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Notification.find_each do |notification|
4444

4545
# Extract related record to `belongs_to :record` association
4646
# This allows ActiveRecord associations instead of querying the JSON data
47-
# attributes[:record] = params.delete(:user) || params.delete(:account)
47+
# attributes[:record] = attributes[:params].delete(:user) || attributes[:params].delete(:account)
4848

4949
attributes[:notifications_attributes] = [{
5050
type: "#{attributes[:type]}::Notification",

0 commit comments

Comments
 (0)