aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/youtube-dl.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/youtube-dl.ts')
-rw-r--r--server/helpers/youtube-dl.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/youtube-dl.ts b/server/helpers/youtube-dl.ts
index fc9d416a1..26dbe6543 100644
--- a/server/helpers/youtube-dl.ts
+++ b/server/helpers/youtube-dl.ts
@@ -257,7 +257,7 @@ function getTags (tags: any) {
257function getLicence (licence: string) { 257function getLicence (licence: string) {
258 if (!licence) return undefined 258 if (!licence) return undefined
259 259
260 if (licence.indexOf('Creative Commons Attribution') !== -1) return 1 260 if (licence.includes('Creative Commons Attribution')) return 1
261 261
262 return undefined 262 return undefined
263} 263}