Fix slug/project ID collisions (#4844)

* wip: tool to create project with id

* fix

* fix id/slug collision for orgs
This commit is contained in:
aecsocket
2025-12-03 00:30:18 +00:00
committed by GitHub
parent 783aaa6553
commit 79c2633011
10 changed files with 214 additions and 96 deletions
@@ -133,7 +133,7 @@ struct ProjectCreateData {
pub organization_id: Option<models::ids::OrganizationId>,
}
#[post("project")]
#[post("/project")]
pub async fn project_create(
req: HttpRequest,
payload: Multipart,
@@ -245,7 +245,7 @@ pub async fn project_create(
.await?;
// Call V3 project creation
let response = v3::project_creation::project_create(
let response = v3::project_creation::project_create_internal(
req,
payload,
client.clone(),