0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/api/v3
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 Added eslint override for index.js false positives 2021-08-13 12:48:49 +01:00
actions.js
authentication.js Fixed function complexity linting warning 2021-08-12 15:38:58 +04:00
authors-public.js
config.js
db.js
email-preview.js Reduced method complexity for sendTestEmail method 2021-09-02 13:11:10 +04:00
email.js
identities.js
images.js
index.js Added eslint override for index.js false positives 2021-08-13 12:48:49 +01:00
integrations.js
invites.js
labels.js
mail.js
members.js Moved member importer declaration for readability 2021-07-23 16:58:46 +04:00
memberSigninUrls.js
membersStripeConnect.js
notifications.js
oembed.js Fixed function comlexity lint warning in oembeds 2021-08-23 10:36:18 +04:00
pages-public.js
pages.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
posts-public.js
posts.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
preview.js
redirects.js
roles.js
schedules.js
session.js
settings-public.js
settings.js
site.js
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
slugs.js
snippets.js Removed use of i18n in snippets controllers 2021-07-19 11:08:55 +01:00
tags-public.js
tags.js
themes.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
users.js
webhooks.js