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

  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
        @data = @robot.brain.data.pagerv2
        schedule_id = process.env.PAGERV2_SCHEDULE_ID
        overriders = process.env.PAGERV2_SCHEDULE_ID.split(',')

        @getUser(who)
        .bind(id)
        .then (id) ->
          getOncall()
        .then (oncall_name) ->
          query  = {
            'start': moment().format(),
            'end': moment().add(duration, 'minutes').format(),
            'user': {
              'id': id,
              'type': 'user_reference'
