Update dependencies
This commit is contained in:
@@ -12,8 +12,8 @@ import (
|
||||
"github.com/gofiber/fiber/v2/middleware/favicon"
|
||||
"github.com/gofiber/fiber/v2/middleware/logger"
|
||||
"github.com/gofiber/fiber/v2/middleware/recover"
|
||||
"github.com/mcstatus-io/mcutil/v2"
|
||||
"github.com/mcstatus-io/mcutil/v2/options"
|
||||
"github.com/mcstatus-io/mcutil/v3"
|
||||
"github.com/mcstatus-io/mcutil/v3/options"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -161,7 +161,7 @@ func SendVoteHandler(ctx *fiber.Ctx) error {
|
||||
|
||||
defer cancel()
|
||||
|
||||
if err = mcutil.SendLegacyVote(c, opts.Host, opts.Port, options.LegacyVote{
|
||||
if err = mcutil.SendVote(c, opts.Host, opts.Port, options.Vote{
|
||||
PublicKey: opts.PublicKey,
|
||||
ServiceName: opts.ServiceName,
|
||||
Username: opts.Username,
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/mcstatus-io/mcutil/v2"
|
||||
"github.com/mcstatus-io/mcutil/v2/formatting"
|
||||
"github.com/mcstatus-io/mcutil/v2/options"
|
||||
"github.com/mcstatus-io/mcutil/v2/response"
|
||||
"github.com/mcstatus-io/mcutil/v3"
|
||||
"github.com/mcstatus-io/mcutil/v3/formatting"
|
||||
"github.com/mcstatus-io/mcutil/v3/options"
|
||||
"github.com/mcstatus-io/mcutil/v3/response"
|
||||
)
|
||||
|
||||
// BaseStatus is the base response properties for returning any status response from the API.
|
||||
|
||||
Reference in New Issue
Block a user