module.exports = (function(){
    'use strict';

    var config = require('../config');
    var utils = require('../utils');

    return {
        get: function(callback){
            var options = {};
            options.lang = 'fr';
            options.uri = config.uri.GET_CHANGELOG;

            utils.exec(options, callback);
        },
        getLast = function(callback){
            var options = {};
            options.lang = 'fr';
            options.uri = config.uri.LAST_CHANGELOG;

            utils.exec(options, callback);
        }
    }
})();

module.exports = (function(){
    'use strict';

    var config = require('../config');
    var utils = require('../utils');

    return {
        get: function(callback){
            var options = {};
            options.lang = 'fr';
            options.uri = config.uri.GET_CHANGELOG;

            utils.exec(options, callback);
        },
        getLast: function(callback){
            var options = {};
            options.lang = 'fr';
            options.uri = config.uri.LAST_CHANGELOG;

            utils.exec(options, callback);
        }
    }
})();

fix typo changelog