mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 03:08:30 +00:00
made code better
This commit is contained in:
parent
2f3efa96a4
commit
8e64735932
@ -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", {
|
||||
|
@ -1,5 +0,0 @@
|
||||
export default function({}) {
|
||||
return {
|
||||
urls: "https://http.cat/451"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
export default function({}) {
|
||||
return {
|
||||
urls: "https://http.cat/451"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user