Ghost/test/unit
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 Refactored scheduling index files into class/initializer pattern 2021-05-25 22:32:41 +04:00
api Handled visibility filter in post/page API 2021-07-05 17:10:45 +05:30
apps Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
data Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
helpers Fixed feature_image_caption needing triple-curlies in themes (#13107) 2021-07-01 17:55:44 +01:00
lib Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
meta Fixed missing renames getExcerpt -> generateExcerpt 2021-07-02 09:44:18 +01:00
models 🐛 Fixed a 500 error for incorrect fields parameter in API 2021-07-06 11:58:37 +04:00
server Removed unused reinit function 2021-06-30 12:44:32 +01:00
services Fixed lint error 2021-07-01 21:02:06 +04:00
shared Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
web Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00