Typo paseDate -> parseDate

This commit is contained in:
xemles
2023-05-06 14:37:26 +02:00
committed by GitHub
parent ffb06899ab
commit 5005d5fde6

View File

@@ -34,7 +34,7 @@ module.exports = {
writer: parseCast(info,"Scénario :"), writer: parseCast(info,"Scénario :"),
composer: parseCast(info,"Musique :"), composer: parseCast(info,"Musique :"),
presenter: parseCast(info,"Présenté par :"), presenter: parseCast(info,"Présenté par :"),
date: paseDate(info), date: parseDate(info),
rating: parseRating(info), rating: parseRating(info),
start, start,
stop stop
@@ -108,7 +108,7 @@ function parseCast(info, type) {
return people return people
} }
function paseDate(info) { function parseDate(info) {
return (info && info.productionYear) ? info.productionYear : null return (info && info.productionYear) ? info.productionYear : null
} }
@@ -125,4 +125,4 @@ function parseRating(info) {
system: rating.authority, system: rating.authority,
value: rating.value value: rating.value
} }
} }