src/util.js
/**
 * removes used up parameters from request
 *
 * @param {object} params all parameters contained in a request
 */
removes used up parameters from request
@param {object} params all parameters contained in a request
removes used up parameters from request @param { object } params all parameters contained in a request
function cleanRequestParams(params) {
  return Object.keys(params)
    .filter((key) => !key.match(/^[A-Z0-9_]+/))
    .filter((key) => !key.startsWith('__'))
    .reduce((cleanedobj, key) => {
      cleanedobj[key] = params[key];
      return cleanedobj;
    }, {});
}
function cleanRequestParams ( params ) { return Object . keys ( params ) . filter ( ( key ) => ! key . match ( / ^[A-Z0-9_]+ / ) ) . filter ( ( key ) => ! key . startsWith ( '__' ) ) . reduce ( ( cleanedobj , key ) => { cleanedobj [ key ] = params [ key ] ; return cleanedobj ; } , { } ) ; }
removes used up parameters from request
 @param {object} params all parameters contained in a request
removes used up parameters from request @param { object } params all parameters contained in a request
// eslint-disable-next-line no-param-reassign