<commit_before>"use strict";

//Load dependencies
var applicationStorage = process.require("core/applicationStorage.js");
var killModel = process.require("kills/killModel.js");

module.exports.getKill = function (req, res, next) {

    var logger = applicationStorage.logger;
    logger.info("%s %s %s %s", req.headers['x-forwarded-for'] || req.connection.remoteAddress, req.method, req.path, JSON.stringify(req.params));

    killModel.find(
        req.params.raid,
        req.params.region,
        req.params.realm,
        req.params.name,
        req.params.difficulty,
        req.params.boss,
        req.params.timestamp.split(','),
        function (error, players) {
            if (error) {
                logger.error(error.message);
                res.status(500).send(error.message);
            } else if (players) {
                res.json(players);
            } else {
                next();<commit_msg>Fix syntax error<commit_after>"use strict";

//Load dependencies
var applicationStorage = process.require("core/applicationStorage.js");
var killModel = process.require("kills/killModel.js");

module.exports.getKill = function (req, res, next) {

    var logger = applicationStorage.logger;
    logger.info("%s %s %s %s", req.headers['x-forwarded-for'] || req.connection.remoteAddress, req.method, req.path, JSON.stringify(req.params));

    killModel.getRoster(
        req.params.raid,
        req.params.region,
        req.params.realm,
        req.params.name,
        req.params.difficulty,
        req.params.boss,
        req.params.timestamp.split(','),
        function (error, players) {
            if (error) {
                logger.error(error.message);
                res.status(500).send(error.message);
            } else if (players) {
                res.json(players);
            } else {
                next();
{'fraction_non_alphanumeric': 0.13963480128893663, 'fraction_numerical': 0.00322234156820623, 'mean_word_length': 2.2857142857142856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5143431', 'n_tokens_mistral': 553, 'n_tokens_neox': 532, 'n_words': 97}