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_title: SiteSetting.title,
|
||||||
forum_domain: Discourse.current_hostname,
|
forum_domain: Discourse.current_hostname,
|
||||||
contact_email: SiteSetting.contact_email,
|
contact_email: SiteSetting.contact_email,
|
||||||
topic_count: Topic.count
|
topic_count: Topic.listable_topics.count
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue