1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

revert restriction on defaultParams

This commit is contained in:
John Mitchell 2019-09-13 15:17:59 -04:00
parent 678fba1ffb
commit d2e335c7c5

View File

@ -166,14 +166,6 @@ export function getQSConfig(
) {
if (!namespace) {
throw new Error('a QS namespace is required');
} else if (
Object.keys(defaultParams).filter(
key => key !== 'page' && key !== 'page_size' && key !== 'order_by'
).length > 0
) {
throw new Error(
'Only page, page_size, and order_by allowed as default params for QS.'
);
}
return {
namespace,