Skip to content

Commit

Permalink
Apply Prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiDubauskas authored and github-actions[bot] committed Sep 5, 2023
1 parent 0e1908e commit 3a56d0e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
1 change: 0 additions & 1 deletion controllers/beneficiaries.controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const editBeneficiary = async (req, res) => {
const beneficiaryId = req.params?.beneficiaryId;
console.log(req.body);


if (beneficiaryId) {
const beneficiary = Beneficiary.findByIdAndUpdate(
beneficiaryId,
Expand Down
26 changes: 13 additions & 13 deletions models/Beneficiary.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,43 +84,43 @@ const BeneficiarySchema = new Schema({
type: String, // change this when we know how to store photos
},
hasBankAccountIntake: {
type: Boolean
type: Boolean,
},
hasBankAccountCompletion: {
type: Boolean
type: Boolean,
},
englishLvlIntake: {
type: Number
type: Number,
},
englishLvlCompletion: {
type: Number
type: Number,
},
computerSkillsIntake: {
type: Number
type: Number,
},
computerSkillsCompletion: {
type: Number
type: Number,
},
emotionalWellnessIntake: {
type: Number
type: Number,
},
emotionalWellnessCompletion: {
type: Number
type: Number,
},
incomeIntake: {
type: Number
type: Number,
},
incomeCompletion: {
type: Number
type: Number,
},
savingsIntake: {
type: Number
type: Number,
},
savingsCompletion: {
type: Number
type: Number,
},
hasFoundWorkCompletion: {
type: Boolean
type: Boolean,
},
});

Expand Down

1 comment on commit 3a56d0e

@vercel
Copy link

@vercel vercel bot commented on 3a56d0e Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.