Skip to content

best way to save what you love

vimeo: use proper local variable name in expandLink

wukkode7df94271e2
diff --git a/src/modules/processing/services/vimeo.js b/src/modules/processing/services/vimeo.js
index 2198bae7..a80561f9 100644
--- a/src/modules/processing/services/vimeo.js
+++ b/src/modules/processing/services/vimeo.js
@@ -60,8 +60,8 @@ export default async function(obj) {
}
if (!bestQuality) bestQuality = variants[0];
- const expandLink = (url) => {
- return new URL(url, urlMasterHLS).toString();
+ const expandLink = (path) => {
+ return new URL(path, urlMasterHLS).toString();
};
let urls = expandLink(bestQuality.uri);