Skip to content

Commit 7fcb1f5

Browse files
authored
Remove :json param for attributes
Fixes Shopify/tapioca#2004
1 parent b2f4e3c commit 7fcb1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/noticed/event.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Event < ApplicationRecord
1212

1313
scope :newest_first, -> { order(created_at: :desc) }
1414

15-
attribute :params, :json, default: {}
15+
attribute :params, default: {}
1616

1717
# Ephemeral notifiers cannot serialize params since they aren't ActiveRecord backed
1818
if respond_to? :serialize

0 commit comments

Comments
 (0)