更新 'src/synapse/dataProvider.js'

This commit is contained in:
2022-07-09 10:43:40 +08:00
parent 4772083040
commit 46259d3740

View File

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