Skip to content

Commit

Permalink
Grabed the new functions
Browse files Browse the repository at this point in the history
close #32
  • Loading branch information
moustf committed Sep 8, 2022
1 parent 77b0bc5 commit 4e7d9ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/controllers/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const { updateVotes, getVotesByPost } = require('./votes');
const { getPostGeneratorPage } = require('./pages');
const { getPostGeneratorPage, getUsersProfile } = require('./pages');
const { getAllPostsController, addNewPost } = require('./posts');
const { getAutoCompleteData } = require('./users');
const { handleProfileInfo } = require('./general');
const { loginController, signupController, logoutController } = require('./auth');

module.exports = {
Expand All @@ -12,6 +13,8 @@ module.exports = {
logoutController,
updateVotes,
getPostGeneratorPage,
getUsersProfile,
addNewPost,
getVotesByPost,
handleProfileInfo,
};

0 comments on commit 4e7d9ff

Please sign in to comment.