✨ Able to get own poll answer & poll answer percentage
This commit is contained in:
@@ -71,6 +71,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
polls.Put("/:pollId", updatePoll)
|
||||
polls.Delete("/:pollId", deletePoll)
|
||||
polls.Post("/:pollId/answer", answerPoll)
|
||||
polls.Get("/:pollId/answer", getMyPollAnswer)
|
||||
}
|
||||
|
||||
subscriptions := api.Group("/subscriptions").Name("Subscriptions API")
|
||||
|
Reference in New Issue
Block a user