Skip to content

Commit 46930ad

Browse files
authored
Merge pull request #91 from staadecker/hotfix
Hotfix to not write additionalInfo to database
2 parents a488bbf + 12e0bca commit 46930ad

File tree

1 file changed

+1
-0
lines changed
  • components/membership-form-backend

1 file changed

+1
-0
lines changed

components/membership-form-backend/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ const validateAndParseRequest = (body) => {
206206
return {
207207
...body,
208208
manual_sign_up_password: undefined, // erase the password from the body to avoid writing it to database
209+
additionalInfo: undefined, // erase the headers from the body to avoid writing it to the database
209210
payment_amount: membershipType.amount, // add the amount to the body to be included in db, may be undefined
210211
payment_method: paymentMethod,
211212
duration_months: membershipType.months,

0 commit comments

Comments
 (0)