Skip to content

Commit

Permalink
Merge branch 'main' of github.com:excid3/noticed
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Mar 20, 2024
2 parents f200db6 + a210447 commit beb4100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Notification.find_each do |notification|

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

attributes[:notifications_attributes] = [{
type: "#{attributes[:type]}::Notification",
Expand Down

0 comments on commit beb4100

Please sign in to comment.