mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-12 15:34:00 +00:00
Nodeinfo devs think halfyear is one word.
This commit is contained in:
parent
2322534648
commit
51465bc0d7
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ async fn node_info(context: web::Data<LemmyContext>) -> Result<HttpResponse, Err
|
||||||
usage: NodeInfoUsage {
|
usage: NodeInfoUsage {
|
||||||
users: NodeInfoUsers {
|
users: NodeInfoUsers {
|
||||||
total: site_view.counts.users,
|
total: site_view.counts.users,
|
||||||
active_half_year: site_view.counts.users_active_half_year,
|
active_halfyear: site_view.counts.users_active_half_year,
|
||||||
active_month: site_view.counts.users_active_month,
|
active_month: site_view.counts.users_active_month,
|
||||||
},
|
},
|
||||||
local_posts: site_view.counts.posts,
|
local_posts: site_view.counts.posts,
|
||||||
|
@ -99,6 +99,6 @@ struct NodeInfoUsage {
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
struct NodeInfoUsers {
|
struct NodeInfoUsers {
|
||||||
pub total: i64,
|
pub total: i64,
|
||||||
pub active_half_year: i64,
|
pub active_halfyear: i64,
|
||||||
pub active_month: i64,
|
pub active_month: i64,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue