Skip to content

Commit

Permalink
Add metURL property and model.
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Sep 6, 2023
1 parent 50e023a commit 1de23f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/controllers/commentperiod.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ exports.protectedPost = async function (args, res) {
commentIdCount: 0,
dateAdded: new Date(),
isMET: obj.isMet,
metURL: obj.metURL,
dateCompleted: obj.dateCompleted,
dateStarted: obj.dateStarted,
instructions: obj.instructions,
Expand Down
2 changes: 2 additions & 0 deletions api/helpers/models/commentperiod.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = require('../models')('CommentPeriod', {
classifiedPercent : { type: Number, default: '' },
commenterRoles : [{ type: String, default: '' }],
commentTip : { type: String, default: '' },
isMet : { type: Boolean, default: false },
metURL : { type: String, default: '' },
dateAdded : { type: Date, default: '' },
dateCompleted : { type: Date, default: '' },
dateCompletedEst : { type: Date, default: '' },
Expand Down

0 comments on commit 1de23f4

Please sign in to comment.