From b700116b56fa58ad23f6bc2c351bf8ab5b294adc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 2 Jun 2018 16:17:08 +0200 Subject: whmmm --- app/client/system/system.actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/client/system/system.actions.js') diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js index 2e5f783..9e4f178 100644 --- a/app/client/system/system.actions.js +++ b/app/client/system/system.actions.js @@ -3,7 +3,7 @@ import types from '../types' export const run = (cmd) => (dispatch) => { dispatch({ type: types.system.running_command, cmd }) - socket.system.run_system_command(cmd) + socket.actions.run_system_command(cmd) .then(data => { dispatch({ type: types.system.command_output, @@ -14,7 +14,7 @@ export const run = (cmd) => (dispatch) => { export const listDirectory = (opt) => (dispatch) => { dispatch({ type: types.system.listing_directory, opt }) - socket.system.list_directory(opt) + socket.actions.list_directory(opt) .then(data => { dispatch({ type: types.system.list_directory, -- cgit v1.2.3-70-g09d2