Fix ticket status request erroring on json unmarshal
This commit is contained in:
parent
2f8d2ab53d
commit
6f2a069047
@ -191,7 +191,7 @@ func router(debugMode bool, cookieSecret []byte, dcrd rpc.DcrdConnect, wallets r
|
|||||||
api := router.Group("/api")
|
api := router.Group("/api")
|
||||||
api.GET("/vspinfo", vspInfo)
|
api.GET("/vspinfo", vspInfo)
|
||||||
api.POST("/feeaddress", withDcrdClient(dcrd), broadcastTicket(), vspAuth(), feeAddress)
|
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("/payfee", withDcrdClient(dcrd), vspAuth(), payFee)
|
||||||
api.POST("/setvotechoices", withDcrdClient(dcrd), withWalletClients(wallets), vspAuth(), setVoteChoices)
|
api.POST("/setvotechoices", withDcrdClient(dcrd), withWalletClients(wallets), vspAuth(), setVoteChoices)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user