Skip to content

Commit

Permalink
EGCETSII#16-fix: Delete some non necessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrabled committed Jan 4, 2022
1 parent cbbe55f commit f93c635
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions decide/administration/frontend/src/api/votingApiUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,27 @@ const votingApi = {
deleteAllVotings: () => axios.delete(`/votings`),

startVotings:(
idList:number[],
actionV: "start",
idList:number[]
) =>
axios.put("/votings", {
idList: idList,
action: actionV,
action: "start",
}),

stopVotings:(
idList:number[],
actionV: "stop",
idList:number[]
) =>
axios.put("/votings", {
idList: idList,
action: actionV,
action: "stop",
}),

tallyVotings:(
idList:number[],
actionV: "tally",
idList:number[]
) =>
axios.put("/votings", {
idList: idList,
action: actionV,
action: "tally",
}),

//Individual Operations
Expand Down

0 comments on commit f93c635

Please sign in to comment.