Skip to content

Commit

Permalink
fix: shorten reason code
Browse files Browse the repository at this point in the history
  • Loading branch information
shingoxx222 committed Nov 8, 2024
1 parent e4296b0 commit 37ea94e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ocpp/v201/smart_charging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ std::string profile_validation_result_to_reason_code(ProfileValidationResultEnum
case ProfileValidationResultEnum::InvalidProfileType:
return "InternalError";
case ProfileValidationResultEnum::InvalidSecurityProfile:
return "InvalidSecurityProfile";
return "LowSecurityProfile";
}

throw std::out_of_range("No applicable reason code for provided enum of type ProfileValidationResultEnum");
Expand Down

0 comments on commit 37ea94e

Please sign in to comment.