mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2025-12-10 09:04:55 +00:00
Add view of reported events (#84)
This commit is contained in:
parent
1706cd3c9d
commit
2f96951c19
6 changed files with 204 additions and 2 deletions
|
|
@ -72,6 +72,15 @@ const resourceMap = {
|
|||
method: "POST",
|
||||
}),
|
||||
},
|
||||
reports: {
|
||||
path: "/_synapse/admin/v1/event_reports",
|
||||
map: er => ({
|
||||
...er,
|
||||
id: er.id,
|
||||
}),
|
||||
data: "event_reports",
|
||||
total: json => json.total,
|
||||
},
|
||||
devices: {
|
||||
map: d => ({
|
||||
...d,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue