mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
12 lines
324 B
Go
12 lines
324 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/models"
|
|
)
|
|
|
|
func (s *Service) PaymentsUpdateMetadata(ctx context.Context, id models.PaymentID, metadata map[string]string) error {
|
|
return newStorageError(s.storage.PaymentsUpdateMetadata(ctx, id, metadata), "cannot update payment metadata")
|
|
}
|