Ghost/test
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
..
api-acceptance Added webp image support (#13105) 2021-07-02 09:37:54 +01:00
frontend-acceptance Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
regression 🐛 Fixed a 500 error for incorrect fields parameter in API 2021-07-06 11:58:37 +04:00
unit 🐛 Fixed a 500 error for incorrect fields parameter in API 2021-07-06 11:58:37 +04:00
utils Improved dev tooling (#13118) 2021-07-05 20:02:22 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00