Ghost/ghost/api-framework/test
Daniel Lockyer d5013199b3 Fixed handling objects as API input parameters
fix https://linear.app/tryghost/issue/SLO-155/paramsmap-is-not-a-function-an-unexpected-error-occurred-please-try

- in the case you provide an object to the API, this code will throw an
  error because it can't map over an object
- we can just assert that params should be an array and throw an error
  otherwise
2024-06-24 10:14:43 +02:00
..
serializers Removed bluebird from api-framework module (#15685) 2022-10-31 19:30:18 +00:00
util Fixed handling objects as API input parameters 2024-06-24 10:14:43 +02:00
validators Removed bluebird from api-framework module (#15685) 2022-10-31 19:30:18 +00:00
.eslintrc.js Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
frame.test.js Fixed some type issues with the api framework 2022-08-23 14:49:29 +01:00
headers.test.js Supported setting headers on a per-request basis 2024-02-28 21:31:04 +07:00
http.test.js Fixed some type issues with the api framework 2022-08-23 14:49:29 +01:00
pipeline.test.js Added cache support to api-framework 2023-02-23 13:07:04 +08:00