Feroze Mohideen 2 лет назад
Родитель
Сommit
e5ddbaa4c5
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      dashboard/src/shared/api.tsx

+ 8 - 0
dashboard/src/shared/api.tsx

@@ -2061,6 +2061,13 @@ const getSlackIntegrations = baseApi<{}, { id: number }>(
   }
 );
 
+const getNeonIntegrations = baseApi<{}, { projectId: number }>(
+  "GET",
+  ({ projectId }) => {
+    return `/api/projects/${projectId}/neon-integrations`;
+  }
+);
+
 const getRevisions = baseApi<
   {},
   { id: number; cluster_id: number; namespace: string; name: string }
@@ -3887,6 +3894,7 @@ export default {
   getReleaseSteps,
   getRepoIntegrations,
   getSlackIntegrations,
+  getNeonIntegrations,
   getRepos,
   getRevisions,
   getTemplateInfo,