diff options
author | Guillaume Jambet <guillaume.jambet@sonarsource.com> | 2018-01-31 18:47:59 +0100 |
---|---|---|
committer | Guillaume Jambet <guillaume.jambet@gmail.com> | 2018-03-01 15:21:05 +0100 |
commit | 21b4be2173e36fef157e46582060e265edb1bf45 (patch) | |
tree | 8e94b30ef647a93fb1c24750fec518458615c2aa /server/sonar-web/src/main/js/api | |
parent | 3c5c062c8bf27f5ed93c72871d9d9ddcf4c0c548 (diff) | |
download | sonarqube-21b4be2173e36fef157e46582060e265edb1bf45.tar.gz sonarqube-21b4be2173e36fef157e46582060e265edb1bf45.zip |
SONAR-10344 api/webhooks/search returns webhooks for global and project
Diffstat (limited to 'server/sonar-web/src/main/js/api')
-rw-r--r-- | server/sonar-web/src/main/js/api/webhooks.ts | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/server/sonar-web/src/main/js/api/webhooks.ts b/server/sonar-web/src/main/js/api/webhooks.ts index fa526855e02..547702464b1 100644 --- a/server/sonar-web/src/main/js/api/webhooks.ts +++ b/server/sonar-web/src/main/js/api/webhooks.ts @@ -19,21 +19,7 @@ */ import { getJSON } from '../helpers/request'; import throwGlobalError from '../app/utils/throwGlobalError'; - -export interface Delivery { - id: string; - at: string; - success: boolean; - httpStatus: number; - durationMs: number; -} - -export interface Webhook { - key: string; - name: string; - url: string; - latestDelivery?: Delivery; -} +import { Webhook } from '../app/types'; export function searchWebhooks(data: { organization: string | undefined; |