Ghost/ghost/api-framework/lib/utils
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
..
index.js Extracted shared API framework to separate package 2022-08-11 17:44:59 +02:00
options.js Fixed handling objects as API input parameters 2024-06-24 10:14:43 +02:00