S2S: Fix bug: in *UndoF, when unresolving ticket, ticketStatus wasn't updated

This commit is contained in:
fr33domlover 2020-08-06 13:18:38 +00:00
parent be3cf50283
commit da01fcf451

View file

@ -552,6 +552,8 @@ deleteResolve myWorkItem prepareAccept tr = do
Just wiData -> do Just wiData -> do
bitraverse delete delete trxid bitraverse delete delete trxid
delete trid delete trid
tid <- localTicketTicket <$> getJust ltid
update tid [TicketStatus =. TSTodo]
(colls, accept) <- prepareAccept wiData (colls, accept) <- prepareAccept wiData
return ("Ticket unresolved", Just colls, Just accept) return ("Ticket unresolved", Just colls, Just accept)