Normalize to double quotes across all files with Prettier

This commit is contained in:
X4Lo committed 2026-06-21 22:28:08 +01:00
1 parent 73bff72cec
commit a5659cf4c8
190 files changed
+9523 -8859

No files matched your search

+20 -19
View File
@@ -8,7 +8,6 @@ const Network = require("../models/Network");
const Season = require("../models/Season");
class NetworkService {
constructor() {
if (!NetworkService.instance) {
NetworkService.instance = this;
@@ -20,11 +19,12 @@ class NetworkService {
const networks = await Network.findAll({
include: [
{
model: Entry, as: 'entries',
include: { model: Media, as: 'medias' }
}
model: Entry,
as: "entries",
include: { model: Media, as: "medias" },
},
],
order: [['name', 'ASC']]
order: [["name", "ASC"]],
});
return networks;
@@ -32,17 +32,19 @@ class NetworkService {
async getNetworkById(id) {
const network = await Network.findByPk(id, {
include: [{
model: Entry,
as: 'entries',
include: [
{ model: EntryId, as: 'entryId' },
{ model: EntryRating, as: 'entryRating' },
{ model: Season, as: 'seasons' },
{ model: Media, as: 'medias' },
{ model: Genre, as: 'genres' },
]
}]
include: [
{
model: Entry,
as: "entries",
include: [
{ model: EntryId, as: "entryId" },
{ model: EntryRating, as: "entryRating" },
{ model: Season, as: "seasons" },
{ model: Media, as: "medias" },
{ model: Genre, as: "genres" },
],
},
],
});
return network;
@@ -61,10 +63,9 @@ class NetworkService {
logoPath: networkData.logoPath,
posterPath: networkData.posterPath,
backdropPath: networkData.backdropPath,
}
},
});
}
}
module.exports = new NetworkService();
module.exports = new NetworkService();