Skip to content

Commit

Permalink
Fix access control server after XML change
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmelveilleux committed Sep 4, 2024
1 parent 4e29639 commit 3b1b0a1
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/app/clusters/access-control-server/access-control-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -522,15 +522,8 @@ void AccessControlAttribute::OnFabricRestrictionReviewUpdate(FabricIndex fabricI
CHIP_ERROR err;
ArlReviewEvent event{ .token = token, .fabricIndex = fabricIndex };

if (instruction.HasValue())
{
event.instruction.SetNonNull(instruction.Value());
}

if (redirectUrl.HasValue())
{
event.redirectURL.SetNonNull(redirectUrl.Value());
}
event.instruction = instruction;
event.redirectURL = redirectUrl;

EventNumber eventNumber;
SuccessOrExit(err = LogEvent(event, kRootEndpointId, eventNumber));
Expand Down

0 comments on commit 3b1b0a1

Please sign in to comment.