Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed May 14, 2024
1 parent ae30424 commit 468e276
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 468e276

Please sign in to comment.