Skip to content

Commit 4e83ea1

Browse files
committed
removed value field
1 parent 81f216d commit 4e83ea1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

services/memberships/handler.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ export const config = {
5656
};
5757

5858
export const payment = async (event, ctx, callback) => {
59-
const {
60-
target: { value },
61-
} = event;
62-
6359
const session = await stripe.checkout.sessions.create({
6460
payment_method_types: ["card"],
6561
line_items: [
@@ -87,9 +83,6 @@ export const payment = async (event, ctx, callback) => {
8783
education1: ctx.body.education,
8884
education: event.education,
8985
email: event.body.email,
90-
email2: value.email,
91-
email3: value.body.email,
92-
test: value,
9386
// faculty: event.faculty,
9487
// first_name: event.body.first_name,
9588
// heard_from: event.body.heard_from,

0 commit comments

Comments
 (0)