Fixed sync bug in HTTP trigger handler
This commit is contained in:
parent
f77f1bc14d
commit
cdc8f0179f
2 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ namespace Triggers{
|
|||
DL.setHeader("X-Trigger", trigger);
|
||||
DL.setHeader("Content-Type", "text/plain");
|
||||
HTTP::URL url(value);
|
||||
if (DL.post(url, payload, sync) && sync && DL.isOk()){
|
||||
if (DL.post(url, payload, sync) && (!sync || DL.isOk())){
|
||||
submitTriggerStat(trigger, tStartMs, true);
|
||||
return DL.data();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue