diff options
author | Ed Tanous <edtanous@google.com> | 2022-08-05 18:53:59 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-08-10 18:46:53 +0300 |
commit | f252a6a7277a1dd949c831992659b473e4054319 (patch) | |
tree | da82b71f348d131dea72d7de4b34a2b42415208a /redfish-core/lib/service_root.hpp | |
parent | ac6250ae7584135ca6f88619bfdfd412bbedc951 (diff) | |
download | bmcweb-f252a6a7277a1dd949c831992659b473e4054319.tar.xz |
Advertise select query param
We seem to have missed this in the $select review. Similar to other
query params that have been turned on, advertise our support in
ServiceRoot.
Tested:
Redfish query_parameters usecase checker passes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I35ac52f745f813cc1f0ecfcae8759ae6a8fe3dee
Diffstat (limited to 'redfish-core/lib/service_root.hpp')
-rw-r--r-- | redfish-core/lib/service_root.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/service_root.hpp b/redfish-core/lib/service_root.hpp index 4afd6507e5..3b533d48f4 100644 --- a/redfish-core/lib/service_root.hpp +++ b/redfish-core/lib/service_root.hpp @@ -95,7 +95,7 @@ inline void handleServiceRootGetImpl( bmcwebInsecureEnableQueryParams; protocolFeatures["FilterQuery"] = false; protocolFeatures["OnlyMemberQuery"] = bmcwebInsecureEnableQueryParams; - protocolFeatures["SelectQuery"] = false; + protocolFeatures["SelectQuery"] = bmcwebInsecureEnableQueryParams; protocolFeatures["DeepOperations"]["DeepPOST"] = false; protocolFeatures["DeepOperations"]["DeepPATCH"] = false; } |