更新 'src/synapse/dataProvider.js'
This commit is contained in:
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…
Reference in New Issue
Block a user