mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat(pools): add update query for dynamic pools * fixex after reviews * fix tests
13 lines
251 B
Go
13 lines
251 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func (s *Service) PoolsUpdateQuery(ctx context.Context, id uuid.UUID, query map[string]any) error {
|
|
err := s.engine.UpdatePoolQuery(ctx, id, query)
|
|
return handleEngineErrors(err)
|
|
}
|