Adjust flagged posts to use the store

This commit is contained in:
Robin Ward
2017-09-11 16:44:20 -04:00
parent 5fd3b6615b
commit 5cf50f0034
14 changed files with 149 additions and 155 deletions

View File

@ -36,19 +36,22 @@ export default function(helpers) {
this.get('/admin/flags/active.json', () => {
return response(200, {
posts: [
flagged_posts: [
{
id: 1,
user_id: sam.id,
post_actions: [{
user_id: eviltrout.id,
post_action_type_id: 8,
name_key: 'spam'
}]
post_action_ids: [1]
}
],
users: [eviltrout, sam],
topics: [],
post_actions: [{
id: 1,
user_id: eviltrout.id,
post_action_type_id: 8,
name_key: 'spam'
}],
"__rest_serializer": "1"
});
});