Skip to content

Commit

Permalink
Merge pull request #35 from SoftwareAG/feature-new-samples
Browse files Browse the repository at this point in the history
fixed bug
  • Loading branch information
ck-c8y authored May 14, 2024
2 parents b0fe304 + 468e276 commit c1c5409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repository/blocks/EnhancedHttpOutputBlock.mon
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ event HTTPHandler
/** Handle the HTTP response.*/
action handleResponse(Response res) {
// $base.createTimer(0.01, res); // Creates a timer with the specified duration.
// TimerParams tp := TimerParams.relative(0.01).withPayload(res).withPartition(deviceId);
base.relative(0.01).withPayload(res).withPartition(deviceId);
TimerParams tp := TimerParams.relative(0.01).withPayload(res).withPartition(deviceId);
base.createTimerWith(tp);

log "Called handleResponse: " + res.payload.data.toString() at INFO;
if not res.isSuccess() {
Expand Down

0 comments on commit c1c5409

Please sign in to comment.