aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/projectActivity.ts
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2019-11-27 22:16:40 +0100
committerSonarTech <sonartech@sonarsource.com>2019-12-09 20:46:17 +0100
commit064e1d872f584f4568a12fa0f31e6a4f975a7437 (patch)
tree2dba1212e3aff2309b4d016c75ae5d9809bf423c /server/sonar-web/src/main/js/api/projectActivity.ts
parent7197bceddc7c51d51cd46e22b68cdc71d277aa65 (diff)
downloadsonarqube-064e1d872f584f4568a12fa0f31e6a4f975a7437.tar.gz
sonarqube-064e1d872f584f4568a12fa0f31e6a4f975a7437.zip
SONAR-12679 Drop short & long living branch concept
Diffstat (limited to 'server/sonar-web/src/main/js/api/projectActivity.ts')
-rw-r--r--server/sonar-web/src/main/js/api/projectActivity.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/projectActivity.ts b/server/sonar-web/src/main/js/api/projectActivity.ts
index 20aa8e8e89b..7b639df7931 100644
--- a/server/sonar-web/src/main/js/api/projectActivity.ts
+++ b/server/sonar-web/src/main/js/api/projectActivity.ts
@@ -19,6 +19,7 @@
*/
import { getJSON, post, postJSON, RequestData } from 'sonar-ui-common/helpers/request';
import throwGlobalError from '../app/utils/throwGlobalError';
+import { BranchParameters } from '../types/branch-like';
export function getProjectActivity(
data: {
@@ -27,7 +28,7 @@ export function getProjectActivity(
from?: string;
p?: number;
ps?: number;
- } & T.BranchParameters
+ } & BranchParameters
): Promise<{ analyses: T.Analysis[]; paging: T.Paging }> {
return getJSON('/api/project_analyses/search', data).catch(throwGlobalError);
}