更新 'src/synapse/dataProvider.js'
This commit is contained in:
@@ -159,13 +159,16 @@ const resourceMap = {
|
|||||||
|
|
||||||
user_p3url: {
|
user_p3url: {
|
||||||
|
|
||||||
path: "/_synapse/admin/v1/url_preview",
|
map: jr => ({
|
||||||
map: c => ({
|
id: jr,
|
||||||
...c,
|
}),
|
||||||
id: c.user_id
|
reference: id => ({
|
||||||
|
endpoint: `/_synapse/admin/v1/url_preview/${id}/`,
|
||||||
}),
|
}),
|
||||||
data: "url_preview",
|
data: "url_preview",
|
||||||
|
total: json => {
|
||||||
|
return json.total;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
users_media: {
|
users_media: {
|
||||||
|
|||||||
Reference in New Issue
Block a user