From 0a57bd3ce7f60cc330cdc612e3f306dc8cebeea3 Mon Sep 17 00:00:00 2001 From: vctt94 Date: Thu, 16 Jul 2020 14:39:09 -0300 Subject: [PATCH] Change docs to POST --- docs/api.md | 2 +- webapi/ticketstatus.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 15c632f..e0839b3 100644 --- a/docs/api.md +++ b/docs/api.md @@ -146,7 +146,7 @@ If `feetxstatus` is `error`, the client needs to provide a new fee transaction using `/api/payfee`. The VSP will only add a ticket to the voting wallets once its `feetxstatus` is `confirmed`. -- `GET /api/ticketstatus` +- `POST /api/ticketstatus` Request: diff --git a/webapi/ticketstatus.go b/webapi/ticketstatus.go index 9632042..e9afe4d 100644 --- a/webapi/ticketstatus.go +++ b/webapi/ticketstatus.go @@ -7,7 +7,7 @@ import ( "github.com/gin-gonic/gin" ) -// ticketStatus is the handler for "GET /ticketstatus". +// ticketStatus is the handler for "POST /ticketstatus". func ticketStatus(c *gin.Context) { funcName := "ticketStatus"