Return fixture data until json feed proxy implemented
parent
062261a4cc
commit
e8bebebe19
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue