summaryrefslogtreecommitdiff
path: root/redfish-core/lib/event_service.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/event_service.hpp')
-rw-r--r--redfish-core/lib/event_service.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/redfish-core/lib/event_service.hpp b/redfish-core/lib/event_service.hpp
index b532815e4d..26cd80a665 100644
--- a/redfish-core/lib/event_service.hpp
+++ b/redfish-core/lib/event_service.hpp
@@ -39,7 +39,7 @@ static constexpr const uint8_t maxNoOfSubscriptions = 20;
class EventService : public Node
{
public:
- EventService(CrowApp& app) : Node(app, "/redfish/v1/EventService/")
+ EventService(App& app) : Node(app, "/redfish/v1/EventService/")
{
entityPrivileges = {
{boost::beast::http::verb::get, {{"Login"}}},
@@ -153,7 +153,7 @@ class EventService : public Node
class SubmitTestEvent : public Node
{
public:
- SubmitTestEvent(CrowApp& app) :
+ SubmitTestEvent(App& app) :
Node(app,
"/redfish/v1/EventService/Actions/EventService.SubmitTestEvent/")
{
@@ -179,7 +179,7 @@ class SubmitTestEvent : public Node
class EventDestinationCollection : public Node
{
public:
- EventDestinationCollection(CrowApp& app) :
+ EventDestinationCollection(App& app) :
Node(app, "/redfish/v1/EventService/Subscriptions/")
{
entityPrivileges = {
@@ -450,7 +450,7 @@ class EventDestinationCollection : public Node
class EventServiceSSE : public Node
{
public:
- EventServiceSSE(CrowApp& app) :
+ EventServiceSSE(App& app) :
Node(app, "/redfish/v1/EventService/Subscriptions/SSE/")
{
entityPrivileges = {
@@ -555,7 +555,7 @@ class EventServiceSSE : public Node
class EventDestination : public Node
{
public:
- EventDestination(CrowApp& app) :
+ EventDestination(App& app) :
Node(app, "/redfish/v1/EventService/Subscriptions/<str>/",
std::string())
{