Skip to content

Commit 20c6193

Browse files
committed
fix: don't use spread which isn't compatible with Node.js v4 that we still support
1 parent f54d344 commit 20c6193

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

app/routes/profile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,13 @@ function ProfileHandler(db) {
5454
const firstNameSafeString = firstName
5555
return res.render("profile", {
5656
updateError: "Bank Routing number does not comply with requirements for format specified",
57-
firstNameSafeString, ...req.body
57+
firstNameSafeString,
58+
lastName,
59+
ssn,
60+
dob,
61+
address,
62+
bankAcc,
63+
bankRouting
5864
});
5965
}
6066

0 commit comments

Comments
 (0)