From 44d9ea5575a61590be26761f6ba59fd259435bb9 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 20 Aug 2016 19:21:05 -0300 Subject: [PATCH] Ivan - Frontend - Use get-settings instead of get-configs [skip ci] --- client/src/actions/__tests__/config-actions-test.js | 2 +- client/src/actions/config-actions.js | 2 +- client/src/data/fixtures/system-fixtures.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/actions/__tests__/config-actions-test.js b/client/src/actions/__tests__/config-actions-test.js index b50acda7..164a7a1f 100644 --- a/client/src/actions/__tests__/config-actions-test.js +++ b/client/src/actions/__tests__/config-actions-test.js @@ -42,7 +42,7 @@ describe('Config Actions,', function () { payload: 'API_RESULT' }); expect(APICallMock.call).to.have.been.calledWith({ - path: '/system/get-configs', + path: '/system/get-settings', data: {} }); }); diff --git a/client/src/actions/config-actions.js b/client/src/actions/config-actions.js index 3da9ceea..cbde584c 100644 --- a/client/src/actions/config-actions.js +++ b/client/src/actions/config-actions.js @@ -14,7 +14,7 @@ export default { return { type: 'INIT_CONFIGS', payload: API.call({ - path: '/system/get-configs', + path: '/system/get-settings', data: {} }) }; diff --git a/client/src/data/fixtures/system-fixtures.js b/client/src/data/fixtures/system-fixtures.js index 04fc76b8..9dd58503 100644 --- a/client/src/data/fixtures/system-fixtures.js +++ b/client/src/data/fixtures/system-fixtures.js @@ -1,6 +1,6 @@ module.exports = [ { - path: '/system/get-configs', + path: '/system/get-settings', time: 1000, response: function () { return {