Skip to content

Commit

Permalink
add namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsgsDesign committed Oct 23, 2021
1 parent 590c7e7 commit 8be106c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Submitter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use App\Models\OJModel;
use Illuminate\Support\Facades\Validator;
use Requests;
use Exception;

class Submitter extends Curl
{
Expand Down Expand Up @@ -72,7 +73,6 @@ private function _submit()
'handle' => $this->selectedJudger['handle'],
]);
$this->sub['jid'] = $this->selectedJudger["jid"];
\Log::debug($response);
if (preg_match('/Submission\+received\+with\+ID\+(\d+)/', $response, $match)) {
$this->sub['remote_id'] = $match[1];
} else {
Expand Down
7 changes: 5 additions & 2 deletions babel.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@
"description": "UVaLive interface for NOJ",
"license": "MIT",
"repository":"https://github.com/NJUPTAAA/NOJ_Extension_UVaLive",
"version":"0.2.1",
"version":"0.2.2",
"website":"https://icpcarchive.ecs.baylor.edu/",
"provider":{
"judger":"Judger",
"crawler":"Crawler",
"submitter":"Submitter",
"installer":"Installer"
},
"namespace": {
"uvalive": "UVaLive*"
},
"require":{
"NOJ":"^0.3.2"
"NOJ":"^0.17.2"
}
}

0 comments on commit 8be106c

Please sign in to comment.