更新 'src/synapse/dataProvider.js'
This commit is contained in:
parent
c79453f4f4
commit
4ff83bf261
@ -296,8 +296,16 @@ const resourceMap = {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
p3url: {
|
p3url: {
|
||||||
path: "/_synapse/admin/v1/registration_tokens",
|
map: m => ({
|
||||||
data: "p3url"
|
id: m,
|
||||||
|
}),
|
||||||
|
reference: id => ({
|
||||||
|
endpoint: `/_synapse/admin/v1/rooms/${id}/members`,
|
||||||
|
}),
|
||||||
|
data: "p3url",
|
||||||
|
total: json => {
|
||||||
|
return json.total;
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user