Skip to content

Commit

Permalink
fix some broken imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jun 11, 2024
1 parent 0e9cb7f commit c1bf864
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backend/verifySolutionForLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ const VerifySolutionForLevelParams = new Archetype({
}
}).compile('VerifySolutionForLevelParams');

const constraintsByLevel = require('../../levels').map(level => level.constraints);

const parByLevel = require('../../levels').map(level => level.par);
const constraintsByLevel = levels.map(level => level.constraints);
const parByLevel = levels.map(level => level.par);

module.exports = async function handler(params) {
const { sessionId, level } = new VerifySolutionForLevelParams(params);
Expand Down

0 comments on commit c1bf864

Please sign in to comment.