mirror of https://github.com/tootsuite/mastodon
Remove unused `usage` method from `REST::V1::InstanceSerializer` (#32768)
parent
d60ef3f17e
commit
20a147170e
|
@ -48,14 +48,6 @@ class REST::V1::InstanceSerializer < ActiveModel::Serializer
|
|||
{ streaming_api: Rails.configuration.x.streaming_api_base_url }
|
||||
end
|
||||
|
||||
def usage
|
||||
{
|
||||
users: {
|
||||
active_month: instance_presenter.active_user_count(4),
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
def configuration
|
||||
{
|
||||
accounts: {
|
||||
|
|
Loading…
Reference in New Issue