           }
           # TODO - with user on call, res a relevant message
 
-          res "ok"
+          res 'ok'
         .catch (error) ->
           err error
 

        @getUser(who)
        .bind(id)
        .then (id) ->
          getOncall(schedule_id)
        .then (oncall_name) ->
          start     = moment().format()
          minutes   = parseInt msg.match[1]
          if minutes > 1440
            msg.send "You want to override more than 24h? Are you drunk or something?"
            return
          end       = moment().add(minutes, 'minutes').format()
          override  = {
            'start': start,
            'end': end,
            'user': {
              'id': id,
              'type': 'user_reference'

  setOverride: (from, who, duration) ->
    return new Promise (res, err) =>
      if duration > 1440
        err 'Sorry you cannot set an override of more than 1 day.'
      else
        duration = parseInt duration
        @data = @robot.brain.data.pagerv2
        schedule_id = process.env.PAGERV2_SCHEDULE_ID
        overriders = process.env.PAGERV2_SCHEDULE_ID.split(',')
