This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Downgrading to v2 #59
Comments
V3 changed the way that the methods are called. You now have to pass an object as a parameter. Ex: const payload = {
channelId: 'UCXuqSBlHAE6Xw-yeJA0Tunw', // Required
channelIdType: 0,
httpsAgent: agent
}
ytch.getChannelInfo(payload).then((response) => {
if (!response.alertMessage) {
console.log(response)
} else {
console.log('Channel could not be found.')
// throw response.alertMessage
}
}).catch((err) => {
console.log(err)
}) You can look at the updated README for changes to the other methods |
Yeah I figured that out super quickly, but it errors regardless, it didn't even reference my files in the errors! |
This PR might fix the issue you're having: #61 |
@MistakingManx did #61 fix it for u? |
Closing because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have to specify v2 when using this package, because it errors relentlessly with v3, I'm not quite sure why.
The text was updated successfully, but these errors were encountered: