Commit 77ec4628 authored by Farid Neshat's avatar Farid Neshat

Fix requests not working

parent e648822f
......@@ -83,7 +83,7 @@ module.exports = function (robot) {
bamboohr.employee(10)
.requestTimeOffAsync(request)
.done(() => msg.reply('Everything worked out'), util.errorHandler(msg));
.done(() => msg.reply('Everything worked out'), utils.errorHandler(msg));
});
dialog.addChoice(/no/, (msg) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment