update: use pool ID for pool selection

This commit is contained in:
ngn
2024-08-26 00:59:15 +03:00
parent 5bf6876558
commit 9c61c49b96
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ func GET_index(c *fiber.Ctx) error {
if len(pools) != 0 {
for _, p := range pools {
if p == pkg.Pool.Name {
if p == pkg.Pool.ID() {
found = true
break
}