]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Gruntmaster/Page/Src.pm
Pass PSGI env to generators
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Src.pm
index 77a5cd20cf4511a5e6c8dcf2f95a86d4a1f8081b..b7b94332b3ec0a18a9343dae0300e5192d9b1606 100644 (file)
@@ -18,8 +18,8 @@ use constant CONTENT_TYPES => +{
 };
 
 sub generate{
-       my ($self, $format, $logger, $ct, $job, $ext) = @_;
-       debug $logger => "Contest is $ct, job is $job and extension is $ext";
+       my ($self, $format, $env, $ct, $job, $ext) = @_;
+       debug $env => "Contest is $ct, job is $job and extension is $ext";
        local $Gruntmaster::Data::contest = $ct if $ct;
 
        [200, ['Content-Type' => CONTENT_TYPES->{$ext}, 'Cache-Control' => 'max-age=604800'], [job_inmeta($job)->{files}{prog}{content}] ]
This page took 0.024724 seconds and 4 git commands to generate.