Remove pending key when the execution is completed

This commit is contained in:
Mattia Codato 2020-07-29 08:45:19 +02:00
parent 5a4fa69650
commit 2cda17a99b
1 changed files with 1 additions and 1 deletions

View File

@ -1025,7 +1025,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin,
if (params->Contains("end"))
execution->Set("end", params->Get("end"));
execution->Set("pending", false);
execution->Remove("pending");
/* Broadcast the update */
Dictionary::Ptr executionsToBroadcast = new Dictionary();