From 7196f52feea3ee0bd0c994cba1203e1caa5cb053 Mon Sep 17 00:00:00 2001 From: phenpessoa Date: Mon, 3 Jul 2023 18:47:37 -0300 Subject: [PATCH] webserver: passe normalized creature race to TibiaCreaturesCreatureImpl instead of passing raw query Fixes #234 --- src/webserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.go b/src/webserver.go index 47d2ea67..bb84c5a1 100644 --- a/src/webserver.go +++ b/src/webserver.go @@ -370,7 +370,7 @@ func tibiaCreaturesCreature(c *gin.Context) { c, tibiadataRequest, func(BoxContentHTML string) (interface{}, error) { - return TibiaCreaturesCreatureImpl(race, BoxContentHTML) + return TibiaCreaturesCreatureImpl(endpoint, BoxContentHTML) }, "TibiaCreaturesCreature") }