enhance: enable deletion of protocol content
This commit is contained in:
parent
1a83e4939d
commit
496a60f2df
4 changed files with 52 additions and 9 deletions
|
@ -324,7 +324,7 @@ export async function synchronizeProtocolAgendaById(req: Request, res: Response)
|
|||
protocolId,
|
||||
})
|
||||
);
|
||||
await ProtocolAgendaCommandHandler.sync(syncAgenda);
|
||||
await ProtocolAgendaCommandHandler.sync(protocolId, syncAgenda);
|
||||
|
||||
res.sendStatus(204);
|
||||
}
|
||||
|
@ -348,7 +348,7 @@ export async function synchronizeProtocolDecisonsById(req: Request, res: Respons
|
|||
protocolId,
|
||||
})
|
||||
);
|
||||
await ProtocolDecisionCommandHandler.sync(syncDecision);
|
||||
await ProtocolDecisionCommandHandler.sync(protocolId, syncDecision);
|
||||
|
||||
res.sendStatus(204);
|
||||
}
|
||||
|
@ -375,7 +375,7 @@ export async function synchronizeProtocolVotingsById(req: Request, res: Response
|
|||
protocolId,
|
||||
})
|
||||
);
|
||||
await ProtocolVotingCommandHandler.sync(syncVoting);
|
||||
await ProtocolVotingCommandHandler.sync(protocolId, syncVoting);
|
||||
|
||||
res.sendStatus(204);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue