Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
achamayou committed Jun 28, 2024
1 parent 3a3665c commit 77b99c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions src/js/extensions/ccf/request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ namespace ccf::js::extensions
dynamic_cast<const ccf::JwtAuthnIdentity*>(ident.get()))
{
caller.set(
"policy",
ctx.new_string(ccf::get_policy_name_from_ident(jwt_ident)));
"policy", ctx.new_string(ccf::get_policy_name_from_ident(jwt_ident)));

auto jwt = ctx.new_obj();
jwt.set(
Expand Down
6 changes: 2 additions & 4 deletions src/node/acme_challenge_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ namespace ccf
class ACMERpcEndpoints : public CommonEndpointRegistry
{
public:
ACMERpcEndpoints(
NetworkState& network, ccf::AbstractNodeContext& context) :
ACMERpcEndpoints(NetworkState& network, ccf::AbstractNodeContext& context) :
CommonEndpointRegistry(
get_actor_prefix(ActorsType::acme_challenge), context)
{
Expand Down Expand Up @@ -94,8 +93,7 @@ namespace ccf
ACMERpcEndpoints endpoints;

public:
ACMERpcFrontend(
NetworkState& network, ccf::AbstractNodeContext& context) :
ACMERpcFrontend(NetworkState& network, ccf::AbstractNodeContext& context) :
RpcFrontend(*network.tables, endpoints, context),
endpoints(network, context)
{}
Expand Down
6 changes: 2 additions & 4 deletions src/node/rpc/node_frontend.h
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,7 @@ namespace ccf
}

public:
NodeEndpoints(
NetworkState& network_, ccf::AbstractNodeContext& context_) :
NodeEndpoints(NetworkState& network_, ccf::AbstractNodeContext& context_) :
CommonEndpointRegistry(get_actor_prefix(ActorsType::nodes), context_),
network(network_),
node_operation(*context_.get_subsystem<ccf::AbstractNodeOperation>())
Expand Down Expand Up @@ -1799,8 +1798,7 @@ namespace ccf
NodeEndpoints node_endpoints;

public:
NodeRpcFrontend(
NetworkState& network, ccf::AbstractNodeContext& context) :
NodeRpcFrontend(NetworkState& network, ccf::AbstractNodeContext& context) :
RpcFrontend(*network.tables, node_endpoints, context),
node_endpoints(network, context)
{}
Expand Down

0 comments on commit 77b99c1

Please sign in to comment.