Skip to content

Commit f3db791

Browse files
authored
fix creatures endpoint return race value straight from URL (#236)
Fix #234
1 parent fd13e7e commit f3db791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ func tibiaCreaturesCreature(c *gin.Context) {
370370
c,
371371
tibiadataRequest,
372372
func(BoxContentHTML string) (interface{}, error) {
373-
return TibiaCreaturesCreatureImpl(race, BoxContentHTML)
373+
return TibiaCreaturesCreatureImpl(endpoint, BoxContentHTML)
374374
},
375375
"TibiaCreaturesCreature")
376376
}

0 commit comments

Comments
 (0)