<commit_before>var Hapi       = require('hapi');
var resources  = require('./resources.js');
module.exports = function (server) {
    
  server.route({ 
    method: 'GET',
    path: '/issues',
    handler: resources.getIssues,
    config: {
      // validate: {
      //   payload: {
      //     thing: Hapi.types.String()
      //   }
      }
  });

  server.route({ 
    method: 'GET',
    path: '/issues/{id}',
    handler: resources.getIssueById,
    config: {
      // validate: {
      //   payload: {
      //     thing: Hapi.types.String()
      //   }
      }
  });
};
<commit_msg>Changed route path identifier from id to number. #1<commit_after>var Hapi       = require('hapi');
var resources  = require('./resources.js');
module.exports = function (server) {
    
  server.route({ 
    method: 'GET',
    path: '/issues',
    handler: resources.getIssues,
    config: {
      // validate: {
      //   payload: {
      //     thing: Hapi.types.String()
      //   }
      }
  });

  server.route({ 
    method: 'GET',
    path: '/issues/{number}',
    handler: resources.getIssueById,
    config: {
      // validate: {
      //   payload: {
      //     thing: Hapi.types.String()
      //   }
      }
  });
};

{'fraction_non_alphanumeric': 0.17483660130718953, 'fraction_numerical': 0.0008169934640522876, 'mean_word_length': 1.7222222222222223, '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': '3709629', 'n_tokens_mistral': 399, 'n_tokens_neox': 392, 'n_words': 74}