Made "sentry:project:create" action idempotent

Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
This commit is contained in:
Bogdan Nechyporenko
2025-03-17 19:05:52 +01:00
parent e1ca7c2490
commit 275b3edb84
@@ -90,7 +90,6 @@ export function createSentryCreateProjectAction(options: { config: Config }) {
const { result } = await ctx.checkpoint({
key: `create.project.${organizationSlug}.${teamSlug}`,
// eslint-disable-next-line no-loop-func
fn: async () => {
const response = await fetch(
`https://sentry.io/api/0/teams/${organizationSlug}/${teamSlug}/projects/`,