更新 'src/synapse/dataProvider.js'

This commit is contained in:
钟进 2022-07-09 14:13:50 +08:00
parent 6f26a31604
commit 24952cba56

View File

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