Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/routes/challenges.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { usersDb } from "../db/usersDb.js";
import { requireValidId } from "../middleware/requireValidId.js";

const router = express.Router();

// It looks like you use auth middleware in your other routes, but not here. It is still enforced, but perhaps the code is just incosistent in where it is enforced
// today as a plain YYYY-MM-DD string, so it compares directly against the
// startDate/endDate strings a challenge stores (both are zero-padded ISO dates)
function todayString() {
Expand Down