diff --git a/webapi/webapi.go b/webapi/webapi.go index 3e604ea..9fffd67 100644 --- a/webapi/webapi.go +++ b/webapi/webapi.go @@ -191,7 +191,7 @@ func router(debugMode bool, cookieSecret []byte, dcrd rpc.DcrdConnect, wallets r api := router.Group("/api") api.GET("/vspinfo", vspInfo) api.POST("/feeaddress", withDcrdClient(dcrd), broadcastTicket(), vspAuth(), feeAddress) - api.GET("/ticketstatus", withDcrdClient(dcrd), vspAuth(), ticketStatus) + api.POST("/ticketstatus", withDcrdClient(dcrd), vspAuth(), ticketStatus) api.POST("/payfee", withDcrdClient(dcrd), vspAuth(), payFee) api.POST("/setvotechoices", withDcrdClient(dcrd), withWalletClients(wallets), vspAuth(), setVoteChoices)