fix(sca): suppress unused lint on SCA scaffolding helpers
This commit is contained in:
@@ -511,6 +511,7 @@ func mapStripeCardErrCode(code stripe.ErrorCode) string {
|
||||
return "CARD_DECLINED"
|
||||
}
|
||||
|
||||
//nolint:unused // wired into Convert cart later
|
||||
func appURLForHandler(r *http.Request) string {
|
||||
scheme := "http"
|
||||
if r.TLS != nil || r.Header.Get("X-Forwarded-Proto") == "https" {
|
||||
|
||||
@@ -301,6 +301,7 @@ func attrsToMap(a []any) map[string]any {
|
||||
return m
|
||||
}
|
||||
|
||||
//nolint:unused // called from ConvertCart in the next update
|
||||
func OrderRequiresAction(userID, orderID uint, paymentIntentID string) {
|
||||
e := event{
|
||||
Event: eventOrderRequiresAction,
|
||||
|
||||
Reference in New Issue
Block a user