Ghost/core/server/api/canary
Naz 26f419f085 Reduced method complexity for sendTestEmail method
refs baccbb4942
refs https://github.com/TryGhost/Team/issues/694

- The change is here to remove yet another ESLint method complexity error
- The custom error handling complexity was introduced here in a referenced commit without an obvious reason. The specifics of how the "sendTestEmail" method handles errors should not leak out from the method, if there are errors in the response they should be handled internally and the method would uniformly reject with a single error.
2021-09-02 13:11:10 +04:00
..
utils Updated members serializer to handle POJO 2021-08-26 15:28:55 +02:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js Fixed function complexity linting warning 2021-08-12 15:38:58 +04:00
authors-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
config.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
db.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
email-post.js Switched post routing to uuid instead of slug 2021-08-19 12:27:45 +04:00
email-preview.js Reduced method complexity for sendTestEmail method 2021-09-02 13:11:10 +04:00
email.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
identities.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
images.js Removed global.Promise override (#12182) 2020-11-04 10:55:47 +00:00
index.js Added eslint override for index.js false positives 2021-08-13 12:48:49 +01:00
integrations.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
invites.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
labels.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
mail.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
members.js Added dummy subscription to comped members 2021-08-26 15:28:55 +02:00
memberSigninUrls.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
membersStripeConnect.js Added precondition for Stripe Connect Admin API 2021-05-20 12:08:45 +01:00
notifications.js Fixed error being saved in notification settings 2021-06-03 12:54:09 +04:00
oembed.js Fixed function comlexity lint warning in oembeds 2021-08-23 10:36:18 +04:00
pages-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
pages.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
posts-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
posts.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
preview.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
products-public.js Supported monthly & yearly price in Products API 2021-06-03 17:08:02 +01:00
products.js Added support for benefits to Admin Products API 2021-06-29 16:53:15 +01:00
redirects.js Added .yaml format support in redirects configuration (#12187) 2020-11-04 12:08:32 +13:00
roles.js 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
schedules.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
session.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
settings-public.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
settings.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
site.js Fixed max-api-complexity linting warnings for site and config APIs (#12982) 2021-05-26 12:10:19 +01:00
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
slugs.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
snippets.js Removed use of i18n in snippets controllers 2021-07-19 11:08:55 +01:00
tags-public.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
tags.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
themes.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
users.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
webhooks.js Moved i18n to shared 2021-05-04 13:03:38 +01:00