Fix topic_count in version check request
This commit is contained in:
parent
7a3a10f29f
commit
e864e4141d
|
@ -45,7 +45,7 @@ module DiscourseHub
|
|||
forum_title: SiteSetting.title,
|
||||
forum_domain: Discourse.current_hostname,
|
||||
contact_email: SiteSetting.contact_email,
|
||||
topic_count: Topic.count
|
||||
topic_count: Topic.listable_topics.count
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue