Commit 5617d9f7 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

small updates

parent bc7a6933
/node_modules
sp-project-metadata.xml
sp-project-metadata-m4lab.xml
......@@ -141,7 +141,7 @@ module.exports = function (app, config, passport) {
])
});
app.get('/project', function (req, res) {
app.get('/project_', function (req, res) {
async.waterfall([
// get all projects from projectdb
function(done) {
......@@ -194,7 +194,7 @@ module.exports = function (app, config, passport) {
])
})
app.get('/project_', function (req, res) {
app.get('/project', function (req, res) {
res.render(lang+'/project/project-simplified', {
isUserAuthenticated: req.isAuthenticated(),
user: req.user
......@@ -349,7 +349,7 @@ module.exports = function (app, config, passport) {
async.waterfall([
// get userId by email from userdb
function(done) {
methods.getUserIdByEmail(req.user.email, function(id, err) {
methods.getUserIdByEmail(req.user.email, function(id, err) { // TO BE FIXED
if (!err) {
userId = id
done(err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment