0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server
Naz 2c1ae2e9af 🐛 Fixed a 500 error for incorrect fields parameter in API
refs 8a1fd1f57f
refs 5584430ddc

- The change to async/await in the original commit 558443 was causing problems in downstream dependencies (create-error package) where it was loosing a context of "this". It's not a direct dependency so I didn't go yak shaving into where exacly the context is lost.
- The fix to keep a correct context of "this" was sticking to an existing pattern using regular function returning promises. Once we need to redo them into async/await we can investigate if there's a way around create-error's context prolbem
2021-07-06 11:58:37 +04:00
..
adapters Replaced request module with @tryghost/request 2021-06-16 13:16:15 +01:00
api Added cache invalidation to the POST authentication/setup route 2021-07-05 16:01:25 +02:00
data Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
lib Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
models 🐛 Fixed a 500 error for incorrect fields parameter in API 2021-07-06 11:58:37 +04:00
public New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
services Removed psmRedesign from allows labs flags 2021-07-02 19:06:42 +01:00
views Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
web Corrected deprecation comment 2021-07-02 13:50:11 +04:00
analytics-events.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
ghost-server.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
notify.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
overrides.js Moved sqlite3 override rules to db connection lib 2021-02-05 11:51:56 +00:00
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Removed unneded i18n and logging parametes from update check 2021-07-02 19:07:13 +04:00