Skip to content

Commit

Permalink
api changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen committed May 8, 2024
1 parent 6827fd7 commit e5ddbaa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dashboard/src/shared/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down Expand Up @@ -3887,6 +3894,7 @@ export default {
getReleaseSteps,
getRepoIntegrations,
getSlackIntegrations,
getNeonIntegrations,
getRepos,
getRevisions,
getTemplateInfo,
Expand Down

0 comments on commit e5ddbaa

Please sign in to comment.