fix some wierd spaces

This commit is contained in:
Cihan Bebek
2017-07-05 12:54:19 +03:00
parent c8f1828858
commit 4328c23cba

View File

@@ -9,7 +9,7 @@ module.exports = function (app) {
* Endpoint for fetching GitHub org public members
*/
app.get('/members', cache('3 hours'), function(req, res, next) {
app.get('/members', cache('3 hours'), function(req, res, next) {
github.getMembers().then(function(data) {
res.status(200).send(data);
}, function(error) {
@@ -22,7 +22,7 @@ module.exports = function (app) {
* Endpoint for getting an invite to GitHub organization
*/
app.post('/members', function(req, res, next) {
app.post('/members', function(req, res, next) {
if(!req.body.username) {
return res.status(400).send('invalid_username');
}