mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-27 12:42:43 +00:00
Disable Metrics/* cops (#35000)
This commit is contained in:
parent
181134153d
commit
20a71a5479
3 changed files with 13 additions and 23 deletions
|
|
@ -12,7 +12,7 @@ class InitialStateSerializer < ActiveModel::Serializer
|
|||
has_one :push_subscription, serializer: REST::WebPushSubscriptionSerializer
|
||||
has_one :role, serializer: REST::RoleSerializer
|
||||
|
||||
def meta # rubocop:disable Metrics/AbcSize
|
||||
def meta
|
||||
store = default_meta_store
|
||||
|
||||
if object.current_account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue