Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
estevamfurtado committed Nov 4, 2024
1 parent 612200d commit e952999
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pages/api/contributions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e952999

Please sign in to comment.