part 12 done
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
const express = require("express");
|
||||
const router = express.Router();
|
||||
const { getAsync } = require("../redis/index");
|
||||
|
||||
/* GET todos listing. */
|
||||
router.get("/", async (_, res) => {
|
||||
const statistics = await getAsync("added_todos");
|
||||
res.send(statistics);
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
Reference in New Issue
Block a user