mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2025-12-10 09:04:55 +00:00
Add new list with information about users' media (#89)
This commit is contained in:
parent
ea59d0dd02
commit
7f92e1a3c0
5 changed files with 74 additions and 0 deletions
|
|
@ -174,6 +174,17 @@ const resourceMap = {
|
|||
method: "POST",
|
||||
}),
|
||||
},
|
||||
user_media_statistics: {
|
||||
path: "/_synapse/admin/v1/statistics/users/media",
|
||||
map: usms => ({
|
||||
...usms,
|
||||
id: usms.user_id,
|
||||
}),
|
||||
data: "users",
|
||||
total: json => {
|
||||
return json.total;
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
function filterNullValues(key, value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue