mirror of
https://github.com/ansible/awx.git
synced 2026-04-11 13:09:21 -02:30
revert restriction on defaultParams
This commit is contained in:
@@ -166,14 +166,6 @@ export function getQSConfig(
|
|||||||
) {
|
) {
|
||||||
if (!namespace) {
|
if (!namespace) {
|
||||||
throw new Error('a QS namespace is required');
|
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 {
|
return {
|
||||||
namespace,
|
namespace,
|
||||||
|
|||||||
Reference in New Issue
Block a user