update: use pool ID for pool selection
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user