async getInvestigations()

in src/app/teamcity/teamcity-service.js [11:25]


  async getInvestigations(teamcityService, locator) {
    const teamcityResponse = await this.dashboardApi.fetch(
      teamcityService.id,
      `app/rest/${API_VER}/investigations`,
      {
        query: {
          locator: this.recursiveConvertHash(locator)
        },
        headers: {
          'Content-Type': 'application/json',
          Accept: 'application/json'
        }
      });
    return convertTeamcityResponse(teamcityService, teamcityResponse);
  }