mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Allow admin to view logs of automatic groups.
This commit is contained in:
@@ -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) }));
|
||||
|
||||
Reference in New Issue
Block a user