Fix vote route not using port query parameter

This commit is contained in:
Jacob Gunther 2023-08-15 19:57:06 -05:00
parent 5c0741fdf6
commit 36425a3c0c
No known key found for this signature in database
GPG Key ID: 9E6F3F4BF45EC433

View File

@ -164,7 +164,7 @@ func ParseVoteOptions(ctx *fiber.Ctx) (*VoteOptions, error) {
// Port
{
result.Port = uint16(ctx.QueryInt("host", 8192))
result.Port = uint16(ctx.QueryInt("port", 8192))
}
// Service Name