mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
14 lines
319 B
Go
14 lines
319 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/models"
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func (s *Service) PoolsRemoveAccount(ctx context.Context, id uuid.UUID, accountID models.AccountID) error {
|
|
err := s.engine.RemoveAccountFromPool(ctx, id, accountID)
|
|
return handleEngineErrors(err)
|
|
}
|