diff options
Diffstat (limited to 'server/sonar-web/src/main/js/api/notifications.ts')
-rw-r--r-- | server/sonar-web/src/main/js/api/notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/api/notifications.ts b/server/sonar-web/src/main/js/api/notifications.ts index a95def188f3..51d258c59b9 100644 --- a/server/sonar-web/src/main/js/api/notifications.ts +++ b/server/sonar-web/src/main/js/api/notifications.ts @@ -19,7 +19,7 @@ */ import { getJSON, post, RequestData } from '../helpers/request'; -export interface IGetNotificationsResponse { +export interface GetNotificationsResponse { notifications: Array<{ channel: string; type: string; @@ -32,7 +32,7 @@ export interface IGetNotificationsResponse { perProjectTypes: Array<string>; } -export function getNotifications(): Promise<IGetNotificationsResponse> { +export function getNotifications(): Promise<GetNotificationsResponse> { return getJSON('/api/notifications/list'); } |