Send user_count and a better url for your forum with the version check request
This commit is contained in:
parent
20e88f18ee
commit
ed1b0ed0f1
|
@ -43,9 +43,10 @@ module DiscourseHub
|
|||
get('/version_check', {
|
||||
installed_version: Discourse::VERSION::STRING,
|
||||
forum_title: SiteSetting.title,
|
||||
forum_domain: Discourse.current_hostname,
|
||||
forum_url: Discourse.base_url,
|
||||
contact_email: SiteSetting.contact_email,
|
||||
topic_count: Topic.listable_topics.count
|
||||
topic_count: Topic.listable_topics.count,
|
||||
user_count: User.count
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue