Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

Commit

Permalink
Update insertData.js
Browse files Browse the repository at this point in the history
Added missing JSON key called balance for insert model
  • Loading branch information
RFlintstone authored May 10, 2023
1 parent fcf446a commit 9870d83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/firebase/insert/insertData.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function insertData(collection, newID, body) {
age: body.age,
email: body.email,
iban: body.iban,
balance: body.balance,
time: await timestamp()
}

Expand Down Expand Up @@ -44,4 +45,4 @@ async function insertData(collection, newID, body) {

module.exports = {
insertData
};
};

0 comments on commit 9870d83

Please sign in to comment.