<commit_before>'use strict';

import Push from '../../models/push';

export default (router) => {
  router.get('/push/:id',
    async ctx => {
      let push = await Push.findOne({
        'token': ctx.params.id
      });
      ctx.body = {
        title: 'Привет',
        body: 'Тварь',
        icon: '',
        tag: '',
        link: ''
      };
    }
  );
};<commit_msg>fix route data<commit_after>'use strict';

import Push from '../../models/push';

export default (router) => {
  router.get('/push/:id',
    async ctx => {
      let push = await Push.findOne({
        'token': ctx.params.id
      });
      ctx.body = {
        title: push.title,
        body: push.body,
        icon: push.icon,
        tag: push.tag,
        link: push.link
      };
    }
  );
};
{'fraction_non_alphanumeric': 0.18193548387096775, 'fraction_numerical': 0.0, 'mean_word_length': 1.6944444444444444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1972309', 'n_tokens_mistral': 255, 'n_tokens_neox': 256, 'n_words': 57}