Ghost/ghost/mailgun-client
Daniel Lockyer ddbee90c1c
Fixed bug when checking email batch size
- even though we don't do anything yet, the code was calling `.length`
  on an object, which is `undefined`
- this fixes that by checking the length of the keys
- also moves the code block down so we can early-return if mailgun is
  not configured
2022-08-11 09:10:49 +02:00
..
lib Fixed bug when checking email batch size 2022-08-11 09:10:49 +02:00
test Added test to ensure events are only fetched if configured 2022-08-11 08:19:03 +02:00
.eslintrc.js Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00
index.js Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00
package.json Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00
README.md Extracted Mailgun client to separate package 2022-08-10 17:12:37 +02:00

Mailgun Client

Mailgun client for Ghost

Usage

Test

  • yarn lint run just eslint
  • yarn test run lint and tests