Update UI result
This commit is contained in:
@@ -93,4 +93,5 @@ type VoteEventHandler interface {
|
||||
GetVoteResults(c *gin.Context)
|
||||
CheckVoteStatus(c *gin.Context)
|
||||
GetCandidates(c *gin.Context)
|
||||
GetVoteEventDetails(c *gin.Context)
|
||||
}
|
||||
|
||||
@@ -174,6 +174,7 @@ func (r *Router) addAppRoutes(rg *gin.Engine) {
|
||||
voteEvents.GET("/:id/candidates", r.voteEventHandler.GetCandidates)
|
||||
voteEvents.GET("/:id/results", r.voteEventHandler.GetVoteResults)
|
||||
voteEvents.GET("/:id/vote-status", r.voteEventHandler.CheckVoteStatus)
|
||||
voteEvents.GET("/:id/details", r.voteEventHandler.GetVoteEventDetails)
|
||||
}
|
||||
|
||||
candidates := v1.Group("/candidates")
|
||||
|
||||
Reference in New Issue
Block a user