更新 'src/synapse/dataProvider.js'
This commit is contained in:
parent
46259d3740
commit
705244b4fc
@ -163,9 +163,9 @@ const resourceMap = {
|
|||||||
id: jr,
|
id: jr,
|
||||||
}),
|
}),
|
||||||
reference: id => ({
|
reference: id => ({
|
||||||
endpoint: `/_synapse/admin/v1/users/${id}/url_preview`,
|
endpoint: `/_synapse/admin/v1/users/${id}/urlpreview`,
|
||||||
}),
|
}),
|
||||||
data: "url_preview",
|
data: "media",
|
||||||
total: json => {
|
total: json => {
|
||||||
return json.total;
|
return json.total;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user