Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
kobarei committed Oct 17, 2014
1 parent bb91fe8 commit 1582e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scripts/chatwork-polling.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = (robot) ->
, 1000 / (options.apiRate / (60 * 60))

ch_bot.on 'task', (room_id, task_id, account, body, limit_time) =>
user = robot.brain.userForId account.account_id,
user = robot.brain.userForId task_id,
name: account.name
room: room_id
limitTime: limit_time
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/chatwork2trello.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Trello = require "node-trello"

module.exports = (robot) ->
robot.respond /REQDEV ((.|\n)*)$/i, (msg) ->
robot.respond /REQUEST DEVELOP ((.|\n)*)$/i, (msg) ->
cardName = msg.match[1]
dueDate = new Date msg.envelope.user.limitTime * 1000

Expand Down

0 comments on commit 1582e58

Please sign in to comment.