diff --git a/src/synapse/dataProvider.js b/src/synapse/dataProvider.js index aa38473..161dc87 100644 --- a/src/synapse/dataProvider.js +++ b/src/synapse/dataProvider.js @@ -163,9 +163,9 @@ const resourceMap = { id: jr, }), reference: id => ({ - endpoint: `/_synapse/admin/v1/users/${id}/url_preview`, + endpoint: `/_synapse/admin/v1/users/${id}/urlpreview`, }), - data: "url_preview", + data: "media", total: json => { return json.total; },