()
| 33 | } |
| 34 | |
| 35 | export function fetchPosts() { |
| 36 | return (dispatch) => { |
| 37 | return callApi('posts').then(res => { |
| 38 | dispatch(addPosts(res.posts)); |
| 39 | }); |
| 40 | }; |
| 41 | } |
| 42 | |
| 43 | export function fetchPost(cuid) { |
| 44 | return (dispatch) => { |
no test coverage detected