Browse Source

Merge branch 'master' of zhaojunzhe/fair-web into master

pull/31/head
richie 5 years ago committed by Gogs
parent
commit
1fabfa1ed1
  1. 5
      modules/practice.js

5
modules/practice.js

@ -38,7 +38,7 @@ app.get('/practice', async (req, res) => {
await userQuery.update(User).set({current_p_id: currentPId}).where("id = :id", { id:userId }).execute();
}
} else {
test.push(resultItem.order);
unFinishedIdArray.push(resultItem.order);
}
});
}
@ -64,8 +64,7 @@ app.get('/practice', async (req, res) => {
}
res.render('practice', {
user:res.locals.user,
result,
newRating
result
})
} catch (e) {
syzoj.log(e);

Loading…
Cancel
Save