Browse Source

Merge pull request #114 from dblark/master

Fix have_additional_file always true
pull/6/head
Menci 5 years ago committed by GitHub
parent
commit
64b8bcc8dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/problem.js

2
modules/problem.js

@ -257,7 +257,7 @@ app.get('/problem/:id/export', async (req, res) => {
limit_and_hint: problem.limit_and_hint,
time_limit: problem.time_limit,
memory_limit: problem.memory_limit,
have_additional_file: problem.additional_file_id !== null,
have_additional_file: problem.additional_file_id != null,
file_io: problem.file_io,
file_io_input_name: problem.file_io_input_name,
file_io_output_name: problem.file_io_output_name,

Loading…
Cancel
Save