更新 'src/synapse/dataProvider.js'

remotes/origin/HEAD
钟进 2 years ago
parent 94d8bb2772
commit df57f5f908

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

Loading…
Cancel
Save