               res @parseAction(user, item, next, payload)
             else
               res payload
-          .catch (e) =>
+          .catch (e) ->
             payload.notices.push(e)
             res payload
         when 'on'

              res @parseAction(user, item, next, payload)
            else
              res payload
          .catch (e) =>
            payload.notices.push(e)
            res payload
        when 'not in'

          'transactions[0][value][0]': "#{@bot_phid}"
        }
        for action, i in results.data
          query['transactions[' + (i + 1) + '][type]'] = action.type
          query['transactions[' + (i + 1) + '][value]'] = action.value
        query['transactions[' + (i + 1) + '][type]'] = 'comment'
        if comment?
          query['transactions[' + (i + 1) + '][value]'] = "#{comment} (#{user.name})"
        else
          query['transactions[' + (i + 1) + '][value]'] =
            "#{results.messages.join(', ')} (by #{user.name})"
        # console.log query
        @request(query, 'maniphest.edit')
        .then (body) ->
