Remove pending key when the execution is completed

This commit is contained in:
Mattia Codato 2020-07-29 08:45:19 +02:00 committed by Noah Hilverling
parent 9a6646f76f
commit eb38821869

View File

@ -1013,7 +1013,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();