Added ObjectManager::Attribute count to monitoring status result.

This commit is contained in:
Martin Edenhofer 2019-03-14 16:31:56 +01:00
parent 124d979e44
commit 2ccda12cc2

View file

@ -232,6 +232,7 @@ curl http://localhost/api/v1/monitoring/status?token=XXX
tickets: Ticket,
ticket_articles: Ticket::Article,
text_modules: TextModule,
object_manager_attributes: ObjectManager::Attribute,
}
map.each do |key, class_name|
status[:counts][key] = class_name.count