Skip to content

Commit

Permalink
has scens
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 13, 2024
1 parent e083cc4 commit 3d272c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/wechat/ext/organ.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module Ext::Organ
has_many :apps, class_name: 'Wechat::App'
has_many :corps, class_name: 'Wechat::Corp'
has_many :payees, class_name: 'Wechat::Payee'
has_many :scenes, as: :handle, class_name: 'Wechat::Scene'

validates :limit_wechat_menu, inclusion: { in: [0, 1, 2, 3] }
end
Expand Down

0 comments on commit 3d272c2

Please sign in to comment.