重新计算组织成员数量

This commit is contained in:
xxq250 2024-03-11 09:39:18 +08:00
parent 1e70d93a83
commit 780ba6c103
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ json.type_name type.constantize.type_name
json.total_settings_count count
json.settings do
json.array! type.constantize.openning.limit(100).each do |setting|
json.(setting, :name, :key, :notification_disabled, :email_disabled)
json.(setting, :name, :key, :email_disabled)
json.notification_disabled false
end
end