Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #207 from jerome-benoit/fix-response-pending
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Benoit authored Apr 15, 2022
2 parents 19eac63 + 37a48c4 commit 9b75e3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/charging-station/ocpp/OCPPRequestService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ export default abstract class OCPPRequestService {
(!this.chargingStation.getOcppStrictCompliance() &&
this.chargingStation.isInUnknownState()) ||
this.chargingStation.isInAcceptedState() ||
(this.chargingStation.isInPendingState() && params.triggerMessage)
(this.chargingStation.isInPendingState() &&
(params.triggerMessage || messageType === MessageType.CALL_RESULT_MESSAGE))
) {
// eslint-disable-next-line @typescript-eslint/no-this-alias
const self = this;
Expand Down

0 comments on commit 9b75e3a

Please sign in to comment.