mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Allow admin to view logs of automatic groups.
This commit is contained in:
parent
a9d5d1bb36
commit
e36e9de28a
7 changed files with 127 additions and 38 deletions
|
@ -308,6 +308,10 @@ export default function() {
|
|||
return response(200, fixturesByUrl['/groups/discourse/posts.json']);
|
||||
});
|
||||
|
||||
this.get("/groups/moderators/members.json", () => {
|
||||
return response(200, fixturesByUrl['/groups/discourse/members.json']);
|
||||
});
|
||||
|
||||
this.get('/t/:topic_id/posts.json', request => {
|
||||
const postIds = request.queryParams.post_ids;
|
||||
const posts = postIds.map(p => ({id: parseInt(p), post_number: parseInt(p) }));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue