This commit is contained in:
monty 2019-12-09 00:12:02 +01:00
parent 6ef357d16f
commit c597a20d00

View file

@ -102,28 +102,7 @@ module.exports = (client) => {
success: false, success: false,
message: 'You are not authorized to access this Endpoint' message: 'You are not authorized to access this Endpoint'
}); });
<<<<<<< HEAD
} }
=======
} else {
await exec('git pull')
.then((r) => {
console.log('Pulled latest changes');
res.status(200).jsonp({
success: true,
message: 'Successfully pulled latest changes'
});
trying.edit('```fix\n' + r.stdout + '```');
})
.catch((error) => {
res.status(400).jsonp({
success: false,
message: error.message
});
console.error(error);
});
}
>>>>>>> 5299c2efc2d2e6d7f232b54122bc92a27eacdf19
}); });
app.listen(port /* , hostname */, () => { app.listen(port /* , hostname */, () => {