Ivan - Frontend - Use get-settings instead of get-configs [skip ci]
This commit is contained in:
parent
8a87e8118d
commit
44d9ea5575
|
@ -42,7 +42,7 @@ describe('Config Actions,', function () {
|
||||||
payload: 'API_RESULT'
|
payload: 'API_RESULT'
|
||||||
});
|
});
|
||||||
expect(APICallMock.call).to.have.been.calledWith({
|
expect(APICallMock.call).to.have.been.calledWith({
|
||||||
path: '/system/get-configs',
|
path: '/system/get-settings',
|
||||||
data: {}
|
data: {}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -14,7 +14,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
type: 'INIT_CONFIGS',
|
type: 'INIT_CONFIGS',
|
||||||
payload: API.call({
|
payload: API.call({
|
||||||
path: '/system/get-configs',
|
path: '/system/get-settings',
|
||||||
data: {}
|
data: {}
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
{
|
||||||
path: '/system/get-configs',
|
path: '/system/get-settings',
|
||||||
time: 1000,
|
time: 1000,
|
||||||
response: function () {
|
response: function () {
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue