From e5ddbaa4c582b9b6e3de322b9478a0a3bf53a86f Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Wed, 8 May 2024 15:32:09 -0400 Subject: [PATCH] api changes --- dashboard/src/shared/api.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dashboard/src/shared/api.tsx b/dashboard/src/shared/api.tsx index 258fec7000..a8f19ccc25 100644 --- a/dashboard/src/shared/api.tsx +++ b/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,