Fix handleAccounttDelete spelling
Extra t, make the method match others like handleAccountPatch.
1ef4c3423f1f13ba6a804f72427641e6f8287dba has this wrong.
Tested: None. It builds.
Change-Id: I7e465d525ddb3ce89567b6918933e41726a4faa4
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 85f0942..f24fef5 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -1871,9 +1871,9 @@
}
inline void
- handleAccounttDelete(App& app, const crow::Request& req,
- const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
- const std::string& username)
+ handleAccountDelete(App& app, const crow::Request& req,
+ const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
+ const std::string& username)
{
if (!redfish::setUpRedfishRoute(app, req, asyncResp))
{
@@ -2049,7 +2049,7 @@
BMCWEB_ROUTE(app, "/redfish/v1/AccountService/Accounts/<str>/")
.privileges(redfish::privileges::deleteManagerAccount)
.methods(boost::beast::http::verb::delete_)(
- std::bind_front(handleAccounttDelete, std::ref(app)));
+ std::bind_front(handleAccountDelete, std::ref(app)));
}
} // namespace redfish