api-wrapper: code cleanup
This commit is contained in:
parent
af1741becc
commit
e57e56037c
|
@ -106,7 +106,7 @@ class PistonEngine extends APIWrapper {
|
||||||
return this.get_child_object(`/repos/${slug}`, PistonEngineRepository)
|
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})
|
return this.post(`/jobs`, {language, version, files, main, args, stdin, compile_timeout, run_timeout})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue