Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pandadtdyy committed Jan 24, 2025
1 parent e456590 commit 1ad1e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrojudge/src/sandbox/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function _call(method: 'post' | 'get' | 'delete', endpoint: string, trace?: stri
}
const client = new Proxy({
async run(req: SandboxRequest, trace?: string): Promise<SandboxResult[]> {
const res = await _call('get', 'run', trace).send(req);
const res = await _call('post', 'run', trace).send(req);
return res.body;
},
async getFile(fileId: string, dest?: string): Promise<Buffer> {
Expand Down

0 comments on commit 1ad1e42

Please sign in to comment.