Skip to content

Commit 558606b

Browse files
committed
add task id to message
1 parent 389fbfd commit 558606b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WorkerJS/PHPClient/HTTPClientTask.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ public function sendTask(){
2323
public function sendMessage($payload){
2424
$url = $this->client->getSetting("api_base")."/message";
2525

26+
$payload->taskID = $this->task->taskID;
27+
2628
return $this->sendRequest($url, $payload);
2729
}
2830

0 commit comments

Comments
 (0)