Skip to content

Commit 4d1caf0

Browse files
committed
Adding RFQs to solicitation query
1 parent 5d162fd commit 4d1caf0

5 files changed

Lines changed: 12 additions & 3 deletions

File tree

server/certs/cert_location.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Place holder for where the certs will be when deployed.

server/config/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ module.exports = {
318318
"ENERGY, DEPARTMENT OF":"Department of Energy",
319319
"MILLENNIUM CHALLENGE CORPORATION":"Millennium Challenge Corporation"
320320
},
321-
VisibleNoticeTypes : ['Solicitation', 'Combined Synopsis/Solicitation'],
321+
VisibleNoticeTypes : ['Solicitation', 'Combined Synopsis/Solicitation', 'RFQ'],
322322
//"minPredictionCutoffDate" : "2020-02-01T00:00:00.000Z",
323323
"predictionCutoffDays" : 60,
324324
"updatePredictionTableMaxRunTime" : 10,

server/routes/auth.routes.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,17 @@ function updateUser(login_gov_data, user) {
101101
}
102102
}
103103

104+
function capitalize(s)
105+
{
106+
return s[0].toUpperCase() + s.slice(1);
107+
}
108+
104109
function createUser(loginGovUser) {
105110
let now = new Date()
106111
let date = (now.getMonth() + 1) + "-" + now.getDate() + "-" + now.getFullYear()
112+
113+
//console.log("Login.gov user:", loginGovUser)
114+
107115
let user_data = {
108116
'firstName': loginGovUser.given_name || null,
109117
'lastName': loginGovUser.family_name || null,

server/routes/noticeType.routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
getNoticeTypes : function(req, res) {
1717

1818
return res.status(200).send(
19-
configuration.getConfig("VisibleNoticeTypes", ['Solicitation', 'Combined Synopsis/Solicitation'])
19+
configuration.getConfig("VisibleNoticeTypes", ['Solicitation', 'Combined Synopsis/Solicitation', 'RFQ'])
2020
)
2121

2222
//

server/routes/prediction.routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ async function getPredictions (filter, user) {
383383
}
384384

385385
// filter to allowed notice types
386-
let types = configuration.getConfig("VisibleNoticeTypes", ['Solicitation', 'Combined Synopsis/Solicitation'])
386+
let types = configuration.getConfig("VisibleNoticeTypes", ['Solicitation', 'Combined Synopsis/Solicitation', 'RFQ'])
387387

388388
attributes.where = {
389389
noticeType: {

0 commit comments

Comments
 (0)