Update pushers total and id

This commit is contained in:
dklimpel 2021-01-04 10:14:46 +01:00
parent 6a9e252791
commit 88e93d0fec

View File

@ -105,11 +105,15 @@ const resourceMap = {
pushers: {
map: p => ({
...p,
id: p.pushkey,
}),
reference: id => ({
endpoint: `/_synapse/admin/v1/users/${id}/pushers`,
}),
data: "pushers",
total: json => {
return json.total;
},
},
servernotices: {
map: n => ({ id: n.event_id }),