Update user
This commit is contained in:
parent
9d72fb293b
commit
74514f02a1
3 changed files with 11 additions and 27 deletions
|
@ -13,11 +13,9 @@ defmodule NullaWeb.NodeinfoController do
|
|||
|
||||
def show(conn, _params) do
|
||||
version = Application.spec(:nulla, :vsn) |> to_string()
|
||||
instance_settings = InstanceSettings.get_instance_settings!()
|
||||
domain = instance_settings.domain
|
||||
total = User.get_total_users_count(domain)
|
||||
month = User.get_active_users_count(domain, 30)
|
||||
halfyear = User.get_active_users_count(domain, 180)
|
||||
total = User.get_total_users_count()
|
||||
month = User.get_active_users_count(30)
|
||||
halfyear = User.get_active_users_count(180)
|
||||
|
||||
users = %{
|
||||
total: total,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue