diff --git a/pages/api/contributions/index.ts b/pages/api/contributions/index.ts index f30af84..601f268 100644 --- a/pages/api/contributions/index.ts +++ b/pages/api/contributions/index.ts @@ -67,9 +67,6 @@ async function runCreateContribution( req: DIContainerNextApiRequest, res: NextApiResponse ) { - // TODO: remove log - console.log("> runCreateContribution()", req.body); - const prismaClient: PrismaClient = req.scope.resolve("dbClient"); const validator = CreateContributionSchema.destruct(); const [err, args] = validator(req.body); @@ -148,9 +145,6 @@ async function runCreateContribution( }); mail(args.customer.email, args.customer.name); } catch (e) { - // TODO: remove log - console.log(">> error", e); - const err = e as any; mailError(args.customer.email, err); if (err.response.status === 400) {