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