Fix /v1/admin/stats всегда пустые данные
Добавлено поле с датой последнего логина пользователям и админам #20
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
social_links :: [binary()] | undefined,
|
||||
phone :: binary() | undefined,
|
||||
preferences :: map() | undefined,
|
||||
last_login :: calendar:datetime(),
|
||||
created_at :: calendar:datetime(),
|
||||
updated_at :: calendar:datetime()
|
||||
}).
|
||||
@@ -41,6 +42,7 @@
|
||||
language :: binary() | undefined,
|
||||
phone :: binary() | undefined,
|
||||
preferences :: map() | undefined,
|
||||
last_login :: calendar:datetime(),
|
||||
created_at :: calendar:datetime(),
|
||||
updated_at :: calendar:datetime()
|
||||
}).
|
||||
|
||||
Reference in New Issue
Block a user