From 0311638ab15845c6d92bba4b15c6a0dae34452ad Mon Sep 17 00:00:00 2001 From: bennykok Date: Fri, 26 Jan 2024 16:06:27 +0800 Subject: [PATCH] Squashed commit of the following: commit d70333baa606bbf9c6252c1c8f67763234a111cf Author: BennyKok Date: Fri Jan 26 07:47:41 2024 +0000 fix: comment typo commit 43cfebd97a8981805e0fdb661188e3f8b753c54e Author: BennyKok Date: Fri Jan 26 07:33:30 2024 +0000 fix: only create share slug when public-share deployment --- web/src/server/curdDeploments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/server/curdDeploments.ts b/web/src/server/curdDeploments.ts index d16e448..1697791 100644 --- a/web/src/server/curdDeploments.ts +++ b/web/src/server/curdDeploments.ts @@ -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 }); }