api-wrapper: code cleanup

This commit is contained in:
Thomas Hobson 2021-03-05 19:34:09 +13:00
parent af1741becc
commit e57e56037c
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

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