File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,17 @@ function validateConfirmedStatus(account) {
127127 message : Constants . Error . ACCOUNT_404_MESSAGE ,
128128 data : { account : account }
129129 } ;
130- } else if ( ! account . confirmed ) {
130+ }
131+ /*
132+ else if (!account.confirmed) {
131133 return {
132134 status: 403,
133135 message: Constants.Error.ACCOUNT_403_MESSAGE,
134136 data: { account: { id: account.id, confirmed: account.confirmed } }
135137 };
136- } else if ( account . accountType !== Constants . General . HACKER ) {
138+ }
139+ */
140+ else if ( account . accountType !== Constants . General . HACKER ) {
137141 return {
138142 status : 409 ,
139143 message : Constants . Error . ACCOUNT_TYPE_409_MESSAGE ,
Original file line number Diff line number Diff line change 11{
22 "name" : " hackerAPI" ,
3- "version" : " 3.1.4 " ,
3+ "version" : " 3.1.5 " ,
44 "private" : true ,
55 "scripts" : {
66 "start" : " DEBUG=hackboard:* NODE_ENV=test nodemon --ignore gcp_creds.json ./bin/www.js" ,
You can’t perform that action at this time.
0 commit comments