mirror of
https://codeberg.org/lucida/lucida.git
synced 2026-11-09 13:07:25 -05:00
add await to spotify login lmfao
This commit is contained in:
@@ -30,8 +30,8 @@ class Spotify implements StreamerWithLogin {
|
||||
constructor(options: LibrespotOptions) {
|
||||
this.client = new Librespot(options)
|
||||
}
|
||||
login(username: string, password: string) {
|
||||
return this.client.login(username, password)
|
||||
async login(username: string, password: string) {
|
||||
return await this.client.login(username, password)
|
||||
}
|
||||
#getUrlParts(url: string): ['artist' | 'album' | 'track' | 'episode' | 'show', string] {
|
||||
const urlObj = new URL(url)
|
||||
|
||||
Reference in New Issue
Block a user