Skip to content

Commit

Permalink
Update for admin url. (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklise committed Sep 20, 2023
1 parent 3ed59a0 commit 58fa3e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/controllers/commentperiod.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var getSanitizedFields = function (fields) {
'isVetted',
'isMet',
'metURL',
'metURLAdmin',
'milestone',
'openHouses',
'periodType',
Expand Down Expand Up @@ -294,6 +295,7 @@ exports.protectedPost = async function (args, res) {
dateAdded: new Date(),
isMet: obj.isMet,
metURL: obj.metURL,
metURLAdmin: obj.metURLAdmin,
dateCompleted: obj.dateCompleted,
dateStarted: obj.dateStarted,
instructions: obj.instructions,
Expand Down
1 change: 1 addition & 0 deletions api/helpers/models/commentperiod.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = require('../models')('CommentPeriod', {
commentTip : { type: String, default: '' },
isMet : { type: Boolean, default: false },
metURL : { type: String, default: '' },
metURLAdmin : { type: String, default: '' },
dateAdded : { type: Date, default: '' },
dateCompleted : { type: Date, default: '' },
dateCompletedEst : { type: Date, default: '' },
Expand Down
1 change: 1 addition & 0 deletions api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ definitions:
- isVetted
- isMet
- metURL
- metURLAdmin
- milestone
- openHouses
- periodType
Expand Down
2 changes: 1 addition & 1 deletion api/test/repo_warden/model_vs_factory_hash.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"name": "commentperiod.js",
"hash": "RyZ8If5J6j6CtmCrAY4pZi6373Q="
"hash": "Ce1hjBRR2QXe8Pjy5LkCubqA9Fs="
},
{
"name": "document.js",
Expand Down

0 comments on commit 58fa3e2

Please sign in to comment.