Closed LillieH1000 closed 2 years ago
What version are you on?
In the latest versions R6API constructor only accepts one parameter - object. See: https://github.com/danielwerg/r6api.js#constructor
Replace:
const r6api = new R6API("email", "password");
With:
const r6api = new R6API({ email: "EMAILGOESHERE", password: "PASSWORDGOESHERE" });
Note for myself: Add issue templates, allow only bug reports and feature requests?, redirect rest to discord (also github discussions or just make another issue template for help related issues)?
Oh, thank you, I thought the object was just because of the dotenv, my bad.
Hello, no matter what I seem to do I always get invalid creditidentals for this api, I provided my basic code below, I did put in my actual ubisoft account info in the actual code but in the example I removed it.