mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(debrid): update error message for missing file link
This commit is contained in:
@@ -333,9 +333,9 @@ export class StremThruInterface implements DebridService {
|
||||
);
|
||||
|
||||
if (!file?.link) {
|
||||
throw new DebridError('No matching file found', {
|
||||
throw new DebridError('Selected file was missing a link', {
|
||||
statusCode: 400,
|
||||
statusText: 'No matching file found',
|
||||
statusText: 'Selected file was missing a link',
|
||||
code: 'NO_MATCHING_FILE',
|
||||
headers: {},
|
||||
body: file,
|
||||
|
||||
Reference in New Issue
Block a user