We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4333f commit 33951b1Copy full SHA for 33951b1
backend/routes/problemset.js
@@ -41,6 +41,7 @@ router.get('/:id', async function(req, res, next) {
41
router.get('/:id/:problem', function(req, res, next) {
42
const userName = req.params.id
43
const problem = req.params.problem
44
+ const db = new sqlite3.Database('./db/O2ARC.db');
45
46
console.log(userName, problem)
47
const query = 'SELECT content FROM tasklist WHERE id = ?';
0 commit comments