From e8bebebe19e64d664069f23e534b173ca50e4d2f Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Thu, 8 Jun 2017 23:27:31 -0500 Subject: [PATCH] Return fixture data until json feed proxy implemented --- ui/src/status/apis/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/src/status/apis/index.js b/ui/src/status/apis/index.js index 4f839a5c7e..81044eaeb0 100644 --- a/ui/src/status/apis/index.js +++ b/ui/src/status/apis/index.js @@ -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) +}