更新 'src/synapse/dataProvider.js'

This commit is contained in:
钟进 2022-07-07 11:48:21 +08:00
parent c79453f4f4
commit 4ff83bf261

View File

@ -296,8 +296,16 @@ const resourceMap = {
}), }),
}, },
p3url: { p3url: {
path: "/_synapse/admin/v1/registration_tokens", map: m => ({
data: "p3url" id: m,
}),
reference: id => ({
endpoint: `/_synapse/admin/v1/rooms/${id}/members`,
}),
data: "p3url",
total: json => {
return json.total;
},
} }
}; };