We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I tried setting my API Key with version 2.2.0 (as stated in the example):
const brevo = require('@getbrevo/brevo'); let apiInstance = new brevo.TransactionalEmailsApi();
let apiKey = apiInstance.authentications['apiKey'];
However "authentications" seems to be protected and not usable as stated in the example:
error TS2445: Property 'authentications' is protected and only accessible within class 'TransactionalEmailsApi' and its subclasses.
I tried downgrading to 2.1.1 which is the same version as in the example, but it still fails.
How to set the API Key with this package? Is it project even still maintained? I raised an issue over a month ago and no one looked into it yet...
The text was updated successfully, but these errors were encountered:
Hi, you can try :
const brevo = require('@getbrevo/brevo'); let apiInstance = new brevo.TransactionalEmailsApi(); apiInstance.setApiKey( TransactionalEmailsApiApiKeys.apiKey, "YOUR_KEY" );
Sorry, something went wrong.
I plus one this, had a hard time figuring this out and should be in the docs.
No branches or pull requests
Hi,
I tried setting my API Key with version 2.2.0 (as stated in the example):
const brevo = require('@getbrevo/brevo');
let apiInstance = new brevo.TransactionalEmailsApi();
let apiKey = apiInstance.authentications['apiKey'];
However "authentications" seems to be protected and not usable as stated in the example:
error TS2445: Property 'authentications' is protected and only accessible within class 'TransactionalEmailsApi' and its subclasses.
I tried downgrading to 2.1.1 which is the same version as in the example, but it still fails.
How to set the API Key with this package?
Is it project even still maintained?
I raised an issue over a month ago and no one looked into it yet...
The text was updated successfully, but these errors were encountered: