更新 'src/synapse/dataProvider.js'

This commit is contained in:
钟进 2022-07-09 11:05:56 +08:00
parent 46259d3740
commit 705244b4fc

View File

@ -163,9 +163,9 @@ const resourceMap = {
id: jr,
}),
reference: id => ({
endpoint: `/_synapse/admin/v1/users/${id}/url_preview`,
endpoint: `/_synapse/admin/v1/users/${id}/urlpreview`,
}),
data: "url_preview",
data: "media",
total: json => {
return json.total;
},