mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: correct parsing of error ID to ensure proper error metadata generation
This commit is contained in:
@@ -33,7 +33,7 @@ router.get(
|
||||
if (id.startsWith('aiostreamserror.')) {
|
||||
res.status(200).json({
|
||||
meta: StremioTransformer.createErrorMeta(
|
||||
JSON.parse(decodeURIComponent(id.split('.')[1]))
|
||||
JSON.parse(decodeURIComponent(id.split('.').slice(0).join('.')))
|
||||
),
|
||||
});
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user