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
@@ -3,7 +3,6 @@ const episodeService = require("../services/episodeService");
|
||||
const _episodeService = episodeService;
|
||||
|
||||
class EpisodeController {
|
||||
|
||||
constructor() {
|
||||
if (!EpisodeController.instance) {
|
||||
EpisodeController.instance = this;
|
||||
@@ -14,13 +13,15 @@ class EpisodeController {
|
||||
async getEpisodesBetweenDates(req, res) {
|
||||
const { startDate, endDate } = req.params;
|
||||
try {
|
||||
const episodes = await _episodeService.getEpisodesBetweenDates(startDate, endDate)
|
||||
const episodes = await _episodeService.getEpisodesBetweenDates(
|
||||
startDate,
|
||||
endDate,
|
||||
);
|
||||
res.status(200).json(episodes);
|
||||
} catch (error) {
|
||||
res.status(500).json({ error: error.message });
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = new EpisodeController();
|
||||
Reference in new issue
Block a user