I have been using snoowrap for about half a year with no issue, when today my code refused to compile due to the below error
NoCredentialsError: Missing credentials passed to snoowrap constructor. You must pass an object containing either (a) userAgent, clientId, clientSecret, and refreshToken properties, (b) userAgent and accessToken properties, or (c) userAgent, clientId, clientSecret, username, and password properties. For information,
please read the docs at https://not-an-aardvark.github.io/snoowrap/.
Which is confusing because (1) it worked before and (2) I am passing an object with userAgent, clientId, clientSecret and refreshToken to the constructor like so (have also tried newing up 'Snoowrap' instead of 'snoowrap')
I have been using snoowrap for about half a year with no issue, when today my code refused to compile due to the below error
NoCredentialsError: Missing credentials passed to snoowrap constructor. You must pass an object containing either (a) userAgent, clientId, clientSecret, and refreshToken properties, (b) userAgent and accessToken properties, or (c) userAgent, clientId, clientSecret, username, and password properties. For information, please read the docs at https://not-an-aardvark.github.io/snoowrap/.
Which is confusing because (1) it worked before and (2) I am passing an object with userAgent, clientId, clientSecret and refreshToken to the constructor like so (have also tried newing up 'Snoowrap' instead of 'snoowrap')