mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
api-wrapper: code cleanup
This commit is contained in:
parent
af1741becc
commit
e57e56037c
1 changed files with 1 additions and 1 deletions
|
@ -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})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue