13 lines
432 B
Go
13 lines
432 B
Go
package handlers
|
|
|
|
import (
|
|
"gitea.futuresens.co.uk/futuresens/hardlink/v2/internal/paymentsvc"
|
|
"gitea.futuresens.co.uk/futuresens/hardlink/v2/internal/trustpayments"
|
|
)
|
|
|
|
// SetTrustPayments selects Trust while preserving the deprecated endpoint guard.
|
|
func (app *App) SetTrustPayments(client *trustpayments.Client) {
|
|
app.trustSelected = true
|
|
app.paymentService = paymentsvc.NewService(&trustpayments.Processor{Client: client})
|
|
}
|