Actions
Refactor #28584
closedrefactor returned payload from API middleware
Description
currently the returned payload is a mix of data and payload, looks like: `payload: { ...payload, ...data }`
which is quite risky and not the best approach to handle API responses,
in this refactor I will split it into results and params, as params are the values which was passed to the API request,
it will look something like this: `payload: { results: data, params: payload }` in the API middleware.
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7301 added
Updated by Ron Lavi almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 57c6f203f51b606ec5b54fb2736b93a70325fa74.
Actions