'use strict';

var rest = require('rest');
var defaultRequest = require('rest/interceptor/defaultRequest');
var mime = require('rest/interceptor/mime');
var errorCode = require('rest/interceptor/errorCode');

const client = rest
  .wrap(defaultRequest, { headers: { 'User-Agent': 'Cronofy Node' } })
  .wrap(mime, { mime: 'application/json' })
  .wrap(errorCode);

module.exports = client;

@@ -206,13 +206,11 @@
 );%0A%0A
-const
+var
  cli

remove const in favor of var