Squashed commit of the following:

commit d70333baa6
Author: BennyKok <[email protected]>
Date:   Fri Jan 26 07:47:41 2024 +0000

    fix: comment typo

commit 43cfebd97a
Author: BennyKok <[email protected]>
Date:   Fri Jan 26 07:33:30 2024 +0000

    fix: only create share slug when public-share deployment
This commit is contained in:
bennykok committed 2024-01-26 16:06:27 +08:00
1 parent 15e1b1ccb4
commit 0311638ab1
1 file changed
+1 -1
+1 -1
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
});
}