0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server
Naz 8d36ebeb3c Refactored Labels API add method back to promises
refs https://github.com/TryGhost/Team/issues/694

- Additional try/catch block needed in async/await implementation increased method complexity  and broke the complexity linting rule. This is a dirty way to fix the warning. Ideally the implementation should stay with async/await syntax and instead move the custom error handling logic into some different layer. For example we could introduce a separate "stage" in the API framework's "pipeline" where we'd catch and handle in a generic way all of the "unique" types of errors. It would make sense to have a generic handler because this same code happens in labels, member and few more places.
2021-09-03 20:33:28 +04:00
..
adapters Swapped to American English spellings 2021-07-27 12:15:19 +04:00
api Refactored Labels API add method back to promises 2021-09-03 20:33:28 +04:00
data Gave Administrators permission to connect to Stripe (#13228) 2021-08-26 11:00:40 +01:00
lib Removed unused internal request lib 2021-08-26 14:21:27 +02:00
models Fixed 'sent' status setting when publishing a post 2021-08-26 22:25:45 +04:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Removed emailCardSegments labs flag (#13276) 2021-09-02 13:11:11 +01:00
views
web Added Members bulk actions endpoint 2021-08-23 16:38:21 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js
overrides.js
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00