Skip to content

Commit

Permalink
Merge pull request #885 from OneCommunityGlobal/revert-880-diego_new_…
Browse files Browse the repository at this point in the history
…dev_4

Revert "chore: updates"
  • Loading branch information
one-community authored Apr 10, 2024
2 parents 3ab63ee + d8978b2 commit 59823b9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"root": "./src"
}
]
]
// "ignore": ["**/*.test.js", "**/*.spec.js", "src/test/**"]
],
"ignore": ["**/*.test.js", "**/*.spec.js", "src/test/**"]
}
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"serve": "babel-node src/server.js",
"prepare-macos-linux": "husky install && chmod ug+x .husky/* && chmod ug+x .git/hooks/*"
},
"pre-commit": [
"lint"
],
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": "lint"
},
"author": "AK",
"license": "ISC",
"devDependencies": {
Expand All @@ -27,16 +33,21 @@
"@types/node": "^8.10.61",
"@types/supertest": "^6.0.2",
"eslint": "^8.47.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-babel-module": "^5.3.1",
"eslint-plugin-import": "^2.28.0",
"husky": "^8.0.1",
"jest": "^26.6.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.1",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^12.5.0",
"nodemon": "^3.0.1",
"prettier": "3.2.5",
"supertest": "^6.1.3"
"supertest": "^6.1.3",
"pre-commit": "^1.2.2"
},
"dependencies": {
"@babel/cli": "^7.15.4",
Expand Down
1 change: 1 addition & 0 deletions src/controllers/userProfileController.js
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,7 @@ const userProfileController = function (UserProfile) {
res.status(500).send(error);
});
};

const getAllUsersWithFacebookLink = function (req, res) {
try {
UserProfile.find({ 'personalLinks.Name': 'Facebook' }).then((results) => {
Expand Down
2 changes: 1 addition & 1 deletion src/startup/middleware.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const jwt = require('jsonwebtoken');
const moment = require('moment');
const morgan = require('morgan')
const config = require('../config');
const morgan = require('morgan')

module.exports = function (app) {
app.use(morgan('tiny'))
Expand Down

0 comments on commit 59823b9

Please sign in to comment.