Remove unused usage method from REST::V1::InstanceSerializer (#32768)

This commit is contained in:
Matt Jankowski 2024-11-05 09:20:27 -05:00 committed by GitHub
parent d60ef3f17e
commit 20a147170e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: {