summaryrefslogtreecommitdiff
path: root/redfish-core/lib
diff options
context:
space:
mode:
authorJohn Edward Broadbent <jebr@google.com>2021-10-04 19:45:42 +0300
committerEd Tanous <ed@tanous.net>2021-10-04 21:36:05 +0300
commitb7ff344535c42af074c60bfb272ef66a2ba157b4 (patch)
tree84a0edb8cafbbb8673b3da08be8cd0bcae5abffb /redfish-core/lib
parent9d4246691d5f8723cd79752a0b354fc06b677b55 (diff)
downloadbmcweb-b7ff344535c42af074c60bfb272ef66a2ba157b4.tar.xz
Corrects Bios privilges
The privileges were converted to a string by mistake in the previous commit (see below). https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/44691 Change-Id: Iaf1d8ec9d4a041703d3f5796e5de8e582d7010d0 Signed-off-by: John Edward Broadbent <jebr@google.com>
Diffstat (limited to 'redfish-core/lib')
-rw-r--r--redfish-core/lib/bios.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/bios.hpp b/redfish-core/lib/bios.hpp
index f4e2dc085a..c2fb2844f1 100644
--- a/redfish-core/lib/bios.hpp
+++ b/redfish-core/lib/bios.hpp
@@ -58,7 +58,7 @@ inline void
inline void requestRoutesBiosReset(App& app)
{
BMCWEB_ROUTE(app, "/redfish/v1/Systems/system/Bios/Actions/Bios.ResetBios/")
- .privileges({{"redfish::privileges::postBios"}})
+ .privileges(redfish::privileges::postBios)
.methods(boost::beast::http::verb::post)(handleBiosResetPost);
}