fix: correct parsing of error ID to ensure proper error metadata generation

This commit is contained in:
Viren070
2025-08-20 23:46:32 +01:00
parent 5ddf430930
commit 048bc02b33
+1 -1
View File
@@ -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;