fix conflict
This commit is contained in:
commit
6ef357d16f
1 changed files with 21 additions and 0 deletions
21
server.js
21
server.js
|
@ -102,7 +102,28 @@ 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 */, () => {
|
||||||
|
|
Loading…
Reference in a new issue