@@ -6,10 +6,7 @@ import {
66} from "@aws-sdk/client-dynamodb" ;
77import { marshall , unmarshall } from "@aws-sdk/util-dynamodb" ;
88import { withRoles , withTags } from "api/components/index.js" ;
9- import {
10- buildAuditLogTransactPut ,
11- createAuditLogEntry ,
12- } from "api/functions/auditLog.js" ;
9+ import { buildAuditLogTransactPut } from "api/functions/auditLog.js" ;
1310import {
1411 createStripeLink ,
1512 deactivateStripeLink ,
@@ -22,11 +19,7 @@ import {
2219 supportedStripePaymentMethods ,
2320} from "api/functions/stripe.js" ;
2421import { getSecretValue } from "api/plugins/auth.js" ;
25- import {
26- environmentConfig ,
27- genericConfig ,
28- notificationRecipients ,
29- } from "common/config.js" ;
22+ import { genericConfig , notificationRecipients } from "common/config.js" ;
3023import {
3124 BaseError ,
3225 DatabaseFetchError ,
@@ -492,7 +485,7 @@ Please ask the payee to try again, perhaps with a different payment method, or c
492485 paymentMethodData [ paymentMethodType ] ;
493486 if ( ! paymentMethodDescriptionData ) {
494487 throw new InternalServerError ( {
495- internalLog : `Unknown payment method type ${ paymentMethodData . type } !` ,
488+ internalLog : `No payment method data for ${ paymentMethodData . type } !` ,
496489 } ) ;
497490 }
498491 const paymentMethodString = getPaymentMethodDescriptionString ( {
0 commit comments