Skip to content

Commit

Permalink
Merge pull request #16 from QuantumStack/dev
Browse files Browse the repository at this point in the history
Fixed lowercase students flag
  • Loading branch information
fishdev authored Feb 5, 2019
2 parents a1c6d0f + 8ed949a commit 52d5850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion server/routes/checkin.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ function parseSectionTime(data) {

/* GET checkin form */
router.get('/:student_id', authRequired, (req, res) => {
const { student_id } = req.params;
let { student_id } = req.params;
// convert student_id to lowercase if necessary
if (config.get('lowercaseStudents')) student_id = student_id.toLowerCase();
// query student with given _id
Student.findOne({ _id: student_id }, (err, student) => {
let section;
Expand Down
2 changes: 1 addition & 1 deletion server/util/version.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const axios = require('axios');

// current version
const current = 'v1.3.2';
const current = 'v1.3.3';
let latest;

// look for a new release on github
Expand Down

0 comments on commit 52d5850

Please sign in to comment.