Skip to content

Commit

Permalink
cleanup(1415): remove leftout commit texts
Browse files Browse the repository at this point in the history
  • Loading branch information
supra08 committed Sep 2, 2020
1 parent 251665b commit 9c6d349
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions plugins/pipelines/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,7 @@ module.exports = () => ({
security: [{ token: [] }]
}
},
<<<<<<< HEAD
handler: async (request, h) => {
=======
// eslint-disable-next-line max-statements
// eslint-disable-next-line max-lines-per-function
// eslint-disable-next-line max-statements
handler: (request, reply) => {
>>>>>>> 85389c2... fix(1415): Fix update-sync sequence in update pipeline
const checkoutUrl = helper.formatCheckoutUrl(request.payload.checkoutUrl);
const rootDir = helper.sanitizeRootDir(request.payload.rootDir);
const { id } = request.params;
Expand Down Expand Up @@ -150,7 +143,7 @@ module.exports = () => ({

const result = await updatedPipeline.sync();

return reply(result.toJson()).code(200);
return h.response(result.toJson()).code(200);
});
})
)
Expand Down

0 comments on commit 9c6d349

Please sign in to comment.