From 02d31498b0a22712830a0755d4fd411f00d2dcd7 Mon Sep 17 00:00:00 2001 From: Venkat Date: Mon, 20 Jan 2025 18:20:03 +0000 Subject: [PATCH] fix: CAPTAIN_DOMAIN variable --- app/util/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/github.py b/app/util/github.py index bff559e..c951c12 100644 --- a/app/util/github.py +++ b/app/util/github.py @@ -30,5 +30,5 @@ def nuke_captain_domain_data_and_backups(captain_domain): return "View all jobs: https://github.com/internal-GlueOps/gha-tools-api/actions/workflows/nuke-captain-domain-data-and-backups.yml" def reset_tenant_github_organization(captain_domain, delete_all_existing_repos, custom_domain, enable_custom_domain): - call_github_workflow("https://api.github.com/repos/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml/dispatches", {"CAPTAIN_DOMAIN_TO_NUKE": captain_domain, "DELETE_ALL_EXISTING_REPOS": str(delete_all_existing_repos), "CUSTOM_DOMAIN": custom_domain, "ENABLE_CUSTOM_DOMAIN": str(enable_custom_domain)}) + call_github_workflow("https://api.github.com/repos/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml/dispatches", {"CAPTAIN_DOMAIN": captain_domain, "DELETE_ALL_EXISTING_REPOS": str(delete_all_existing_repos), "CUSTOM_DOMAIN": custom_domain, "ENABLE_CUSTOM_DOMAIN": str(enable_custom_domain)}) return "View all jobs: https://github.com/internal-GlueOps/gha-tools-api/actions/workflows/reset-tenant-github-organization.yml"