Squashed commit of the following:

commit d70333baa606bbf9c6252c1c8f67763234a111cf
Author: BennyKok <itechbenny@gmail.com>
Date:   Fri Jan 26 07:47:41 2024 +0000

    fix: comment typo

commit 43cfebd97a8981805e0fdb661188e3f8b753c54e
Author: BennyKok <itechbenny@gmail.com>
Date:   Fri Jan 26 07:33:30 2024 +0000

    fix: only create share slug when public-share deployment
This commit is contained in:
bennykok 2024-01-26 16:06:27 +08:00
parent 15e1b1ccb4
commit 0311638ab1

View File

@ -75,7 +75,7 @@ export async function createDeployments(
machine_id,
environment,
org_id: orgId,
// only create share slug if this is plublic share
// only create share slug if this is public share
share_slug: environment == "public-share" ? slugify(`${userName} ${workflow.name}`) : null
});
}