mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Updated jsdoc for mailgun-client
- in the event the Mailgun config doesn't exist, we return `null` from this function - this updates the jsdoc to correct the return type of `getInstance`
This commit is contained in:
parent
7d060e5edb
commit
c4391567f3
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ module.exports = class MailgunClient {
|
|||
* Note: if the credentials are not configure, this method returns `null` and it is down to the
|
||||
* consumer to act upon this/log this out
|
||||
*
|
||||
* @returns {import('mailgun.js')} the Mailgun client instance
|
||||
* @returns {import('mailgun.js')|null} the Mailgun client instance
|
||||
*/
|
||||
getInstance() {
|
||||
const mailgunConfig = this.#getConfig();
|
||||
|
|
Loading…
Add table
Reference in a new issue