mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
Fix order of args and stdin
This commit is contained in:
parent
c537cab2da
commit
ea54716774
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ app.post(
|
|||
language.aliases.includes(req.body.language.toLowerCase())
|
||||
);
|
||||
|
||||
const { stdout, stderr, output, ran } = await execute(language, req.body.source, req.body.args, req.body.stdin);
|
||||
const { stdout, stderr, output, ran } = await execute(language, req.body.source, req.body.stdin, req.body.args);
|
||||
|
||||
res.status(200).json({
|
||||
ran,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue