From 89a3b6bb4a6d6a7ef936e8ec1d4afefd4a8385fd Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 22 Sep 2018 19:12:20 +0200 Subject: thumbnail method --- app/client/socket/socket.actions.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/client/socket/socket.actions.js') diff --git a/app/client/socket/socket.actions.js b/app/client/socket/socket.actions.js index 31d73cc..b83c9cf 100644 --- a/app/client/socket/socket.actions.js +++ b/app/client/socket/socket.actions.js @@ -9,6 +9,7 @@ export const list_sequences = opt => syscall_async('list_sequences', opt).th 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 thumbnail = opt => syscall_async('thumbnail', opt).then(res => res.file) export const syscall_async = (tag, payload, ttl=10000) => { ttl = payload.ttl || ttl -- cgit v1.2.3-70-g09d2