Github repo for fetching project contributers.
This commit is contained in:
@@ -16,6 +16,7 @@ const virtualRegistrationApi = require(path.join(
|
||||
));
|
||||
const lottery = require(path.join(__dirname, "/lottery"));
|
||||
const chatHistoryApi = require(path.join(__dirname, "/chatHistory"));
|
||||
const githubController = require(path.join(__dirname, "/controllers/githubController"));
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
@@ -63,6 +64,8 @@ router.post('/winner/:id', virtualRegistrationApi.registerWinnerSelection);
|
||||
router.get('/chat/history', chatHistoryApi.getAllHistory)
|
||||
router.delete('/chat/history', mustBeAuthenticated, chatHistoryApi.deleteHistory)
|
||||
|
||||
router.get("/project/contributors", githubController.getProjectContributors);
|
||||
|
||||
router.post('/login', userApi.login);
|
||||
router.post('/register', mustBeAuthenticated, userApi.register);
|
||||
router.get('/logout', userApi.logout);
|
||||
|
||||
Reference in New Issue
Block a user