diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-09-21 22:50:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-09-21 22:50:33 +0200 |
| commit | 10faab7941b28181c7647ff4e390ab651286bc32 (patch) | |
| tree | b0d71498d2a0649c7180940a38d2fbfa595ca515 /app/client/socket/socket.actions.js | |
| parent | 53ddf1651d649f65d92e12d36c003ff623226e34 (diff) | |
| parent | 15d5cea9d1d94a6893ef1a55a916e68a182e5394 (diff) | |
merge
Diffstat (limited to 'app/client/socket/socket.actions.js')
| -rw-r--r-- | app/client/socket/socket.actions.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/client/socket/socket.actions.js b/app/client/socket/socket.actions.js index b80a0fa..31d73cc 100644 --- a/app/client/socket/socket.actions.js +++ b/app/client/socket/socket.actions.js @@ -8,6 +8,7 @@ export const count_directory = opt => syscall_async('count_directory', opt).t export const list_sequences = opt => syscall_async('list_sequences', opt).then(res => res.sequences) export const run_script = opt => syscall_async('run_script', opt) export const upload_file = opt => syscall_async('upload_file', opt) +export const read_file = opt => syscall_async('read_file', opt).then(res => res.file) export const syscall_async = (tag, payload, ttl=10000) => { ttl = payload.ttl || ttl |
