Skip to content

Commit

Permalink
fix: payment matching for new users
Browse files Browse the repository at this point in the history
  • Loading branch information
kmsngh committed Oct 8, 2020
1 parent 46be8e8 commit e1da57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/auth/auth.ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ exports.signup = async (ctx) => {
console.log(payments);
await Promise.all(
payments.map(async (payment) => {
payment.StudentId = studentId;
payment.studentId = studentId;
await payment.save();
})
);
Expand Down

0 comments on commit e1da57c

Please sign in to comment.