Return fixture data until json feed proxy implemented

pull/10616/head
Jared Scheib 2017-06-08 23:27:31 -05:00
parent 062261a4cc
commit e8bebebe19
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
import {get} from 'utils/ajax'
export const getJSONFeed = url => get(url)
import {fixtureJSONFeed} from 'src/status/fixtures'
// TODO: remove async/await & object return, uncomment get(url) when proxy route implemented
export const getJSONFeed = async url => {
return await {data: fixtureJSONFeed}
// get(url)
}