made code better

This commit is contained in:
flavjyk4 2024-08-08 13:01:17 +00:00
parent 2f3efa96a4
commit 8e64735932
3 changed files with 3 additions and 15 deletions

View File

@ -27,8 +27,6 @@ import dailymotion from "./services/dailymotion.js";
import snapchat from "./services/snapchat.js";
import loom from "./services/loom.js";
import facebook from "./services/facebook.js";
import spotify from "./services/spotify.js";
import applemusic from "./services/applemusic.js";
let freebind;
@ -209,10 +207,10 @@ export default async function(host, patternMatch, lang, obj) {
});
break;
case "spotify":
r = await spotify({});
break;
case "apple":
r = await applemusic({});
r = {
urls: "https://http.cat/451"
}
break;
default:
return createResponse("error", {

View File

@ -1,5 +0,0 @@
export default function({}) {
return {
urls: "https://http.cat/451"
}
}

View File

@ -1,5 +0,0 @@
export default function({}) {
return {
urls: "https://http.cat/451"
}
}