mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(comet): default to empty string for api key when credentails aren't provided
This commit is contained in:
@@ -59,8 +59,10 @@ const getCometConfig = (
|
||||
debridService: debridService || 'torrent',
|
||||
debridApiKey: debridService
|
||||
? ['offcloud', 'pikpak'].includes(debridService)
|
||||
? `${credentials?.email}:${credentials?.password}`
|
||||
: `${credentials?.apiKey}`
|
||||
? credentials?.email && credentials?.password
|
||||
? `${credentials?.email}:${credentials?.password}`
|
||||
: ''
|
||||
: credentials?.apiKey || ''
|
||||
: '',
|
||||
debridStreamProxyPassword: '',
|
||||
languages: { required: [], exclude: [], preferred: [] },
|
||||
|
||||
Reference in New Issue
Block a user