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}) } }