From e57e56037c052774d42b93b4e214a056effbaf4f Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Fri, 5 Mar 2021 19:34:09 +1300 Subject: [PATCH] api-wrapper: code cleanup --- api-client/index.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-client/index.cjs b/api-client/index.cjs index 846b237..c58f9b3 100644 --- a/api-client/index.cjs +++ b/api-client/index.cjs @@ -106,7 +106,7 @@ class PistonEngine extends APIWrapper { return this.get_child_object(`/repos/${slug}`, PistonEngineRepository) } - run_job(language, version, files, main, args, stdin, compile_timeout, run_timeout){ + run_job({language, version, files, main, args, stdin, compile_timeout, run_timeout}){ return this.post(`/jobs`, {language, version, files, main, args, stdin, compile_timeout, run_timeout}) } }