chore: switched to v1.5.2; chore: removed default export for sendAddToQueue utility

This commit is contained in:
Roberto Tonino
2020-11-28 20:18:35 +01:00
parent 919498f31c
commit cb756747bd
5 changed files with 18 additions and 14 deletions

View File

@@ -1,5 +1,9 @@
import { socket } from '@/utils/socket'
/**
* @param {string} url
* @param {number} bitrate
*/
export function sendAddToQueue(url, bitrate = null) {
if (!url) throw new Error('No URL given to sendAddToQueue function!')
@@ -16,6 +20,6 @@ export function aggregateDownloadLinks(releases) {
return links.join(';')
}
export default {
sendAddToQueue
}
// export default {
// sendAddToQueue
// }