Feroze Mohideen 2 年 前
コミット
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,