Skip to content

Commit

Permalink
make edit project function
Browse files Browse the repository at this point in the history
relates #32
  • Loading branch information
MohammedAlghazali committed Mar 30, 2020
1 parent 9209251 commit fe994ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/controllers/routes/admin/project/editProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const { editProject } = require('../../../../database/queries');

const projectEdit = async (req, res, next) => {
try {
console.log('tessssssssssst? ');
const {
name,
description,
Expand All @@ -13,7 +12,6 @@ const projectEdit = async (req, res, next) => {
cohortId,
} = req.body;
const { projectId } = req.params;
console.log('hellllllllllo', projectId);
await editProject(
name,
description,
Expand Down

0 comments on commit fe994ff

Please sign in to comment.