Normalize to double quotes across all files with Prettier
This commit is contained in:
1 parent
73bff72cec
commit
a5659cf4c8
190 files changed
+9523
-8859
No files matched your search
@@ -1,19 +1,28 @@
|
||||
const express = require('express');
|
||||
const express = require("express");
|
||||
const statisticsRouter = express.Router();
|
||||
|
||||
const statisticsController = require('../controllers/statisticsController');
|
||||
const statisticsController = require("../controllers/statisticsController");
|
||||
|
||||
// ! /statistics
|
||||
// * GET - All Time, Watch Time
|
||||
statisticsRouter.get('/watch-time', statisticsController.getAllTimeWatchTime);
|
||||
statisticsRouter.get("/watch-time", statisticsController.getAllTimeWatchTime);
|
||||
|
||||
// * GET - Yearly Watch Time
|
||||
statisticsRouter.get('/watch-time/year/:year', statisticsController.getYearlyWatchTime);
|
||||
statisticsRouter.get(
|
||||
"/watch-time/year/:year",
|
||||
statisticsController.getYearlyWatchTime,
|
||||
);
|
||||
|
||||
// * GET - Yearly Watch Count Grouped By Month
|
||||
statisticsRouter.get('/watch-count/year/:year', statisticsController.getYearlyWatchCountGroupByMonth);
|
||||
statisticsRouter.get(
|
||||
"/watch-count/year/:year",
|
||||
statisticsController.getYearlyWatchCountGroupByMonth,
|
||||
);
|
||||
|
||||
// * GET - Watch Day Distribution (DAYOFWEEK)
|
||||
statisticsRouter.get('/watch-weekday', statisticsController.getWatchdayDistribution);
|
||||
statisticsRouter.get(
|
||||
"/watch-weekday",
|
||||
statisticsController.getWatchdayDistribution,
|
||||
);
|
||||
|
||||
module.exports = statisticsRouter;
|
||||
Reference in new issue
Block a user