<commit_before>import {inject} from 'aurelia-framework';
import {ApiService} from 'api-service';

@inject(ApiService)
export class EditGroupUsers {
  users = [];

  constructor(api) {
    this.api = api;
  }

  activate(params) {
    this.groupId = params.groupId;
    this.clientId = params.id;

    this.updateCurrentUsers();

    this.api.get('users?page=1&pageSize=10')
      .then(response => response.json())
      .then(users => this.allUsers = users.items);
  }

  updateCurrentUsers() {
    return this.api.get('clients/' + this.clientId + '/groups/' + this.groupId + '/users?page=1&pageSize=10')
      .then(response => response.json(), response => console.error(response))
      .then(users => {
        this.currentUsers = users.items;
      })
  }
<commit_msg>Adding missing semicolon<commit_after>import {inject} from 'aurelia-framework';
import {ApiService} from 'api-service';

@inject(ApiService)
export class EditGroupUsers {
  users = [];

  constructor(api) {
    this.api = api;
  }

  activate(params) {
    this.groupId = params.groupId;
    this.clientId = params.id;

    this.updateCurrentUsers();

    this.api.get('users?page=1&pageSize=10')
      .then(response => response.json())
      .then(users => this.allUsers = users.items);
  }

  updateCurrentUsers() {
    return this.api.get('clients/' + this.clientId + '/groups/' + this.groupId + '/users?page=1&pageSize=10')
      .then(response => response.json(), response => console.error(response))
      .then(users => {
        this.currentUsers = users.items;
      });
  }

{'fraction_non_alphanumeric': 0.16238767650834404, 'fraction_numerical': 0.007702182284980745, 'mean_word_length': 3.3426183844011144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '5561115', 'n_tokens_mistral': 516, 'n_tokens_neox': 494, 'n_words': 86}