Skip to content

Commit

Permalink
feat: allow version 2 entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Barmat committed Mar 22, 2019
1 parent 8bd5caa commit 708dcf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Contest/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function parseEntry(entryJSON: string): Entry {

switch (entry.version.toString()) {
case '1':
case '2':
const { project, contest, scene, user } = entry

if (!user) {
Expand Down

0 comments on commit 708dcf2

Please sign in to comment.