Rename API routes

This commit is contained in:
Konrad Hanff
2021-04-01 16:11:56 +02:00
committed by Sebastian Serth
parent c36ec447ff
commit cf1e4d6edf
4 changed files with 17 additions and 17 deletions

View File

@ -187,7 +187,7 @@ class Submission < ApplicationRecord
def prepared_container
request_time = Time.now
container = Container.new(execution_environment, execution_environment.permitted_execution_time)
container = Runner.new(execution_environment, execution_environment.permitted_execution_time)
container.copy_submission_files self
container.waiting_time = Time.now - request_time
yield(container) if block_given?