[addon] bumps premiumize and all-debrid packages

This commit is contained in:
TheBeastLT
2020-05-12 15:14:09 +02:00
parent 313971fca0
commit cb0448af35
3 changed files with 9 additions and 10 deletions

View File

@@ -115,8 +115,7 @@ function statusReady(statusCode) {
}
function errorExpiredSubscriptionError(error) {
return ['You must be premium to use this feature', 'You must be premium to process this link']
.includes(error.message);
return ['MUST_BE_PREMIUM', 'MAGNET_MUST_BE_PREMIUM'].includes(error.code);
}
module.exports = { getCachedStreams, resolve };