<commit_before>const StaffMember = require('../models').StaffMember;

module.exports = {
  create(request, response) {
    return StaffMember
      .create({
        firstName: request.body.firstname,
        lastName: request.body.lastname,
        username: request.body.username,
        password: <PASSWORD>
      })
      .then((staffmember) => response.status(201).send(staffmember))
      .catch((error) => response.status(400).send(error));
  }
};<commit_msg>Finished creating staffmembers.<commit_after>const StaffMember = require('../models').StaffMember;

module.exports = {
  create(request, response) {
    return StaffMember
      .create({
        firstName: request.body.firstName,
        lastName: request.body.lastName,
        username: request.body.username,
        password: <PASSWORD>
      })
      .then((staffmember) => response.status(201).send(staffmember))
      .catch((error) => {
        console.log(error);
        response.status(400).send(error);
      });
  }
};
{'fraction_non_alphanumeric': 0.14814814814814814, 'fraction_numerical': 0.012012012012012012, 'mean_word_length': 2.937007874015748, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '344270', 'n_tokens_mistral': 297, 'n_tokens_neox': 286, 'n_words': 45}