/*!
 * hackerone.reports.comment.create (https://github.com/xc0d3rz/hackerone)
 * Copyright 2016-2017 xc0d3rz(x.c0d3rz000@gmail.com)
 * Licensed under the MIT license
 */

/**
 *
 * @param id
 * @param param
 * @param callback
 */
module.exports = function (id, param, callback) {
    this.post('reports/' + id + '/close_comments', {
        data: {
            type: 'activity-comments-closed',
            attributes: {
                id: param.id
            }
        }
    }, callback);
};

/*!
 * hackerone.reports.comment.create (https://github.com/xc0d3rz/hackerone)
 * Copyright 2016-2017 xc0d3rz(x.c0d3rz000@gmail.com)
 * Licensed under the MIT license
 */

/**
 *
 * @param id
 * @param param
 * @param callback
 */
module.exports = function (id, param, callback) {
    this.put('reports/' + id + '/close_comments', {
        data: {
            type: 'activity-comments-closed',
            attributes: {
                id: param.id
            }
        }
    }, callback);
};

Change method from `post` to `put`
Change method from `post` to `put`
