mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 13:26:16 +00:00
Change update slug fallback to undefined
This commit is contained in:
@@ -142,7 +142,7 @@ export const orgServiceFactory = ({
|
|||||||
|
|
||||||
const org = await orgDAL.updateById(orgId, {
|
const org = await orgDAL.updateById(orgId, {
|
||||||
name,
|
name,
|
||||||
slug: slug ? slugify(slug) : slug,
|
slug: slug ? slugify(slug) : undefined,
|
||||||
authEnforced
|
authEnforced
|
||||||
});
|
});
|
||||||
if (!org) throw new BadRequestError({ name: "Org not found", message: "Organization not found" });
|
if (!org) throw new BadRequestError({ name: "Org not found", message: "Organization not found" });
|
||||||
|
|||||||
Reference in New Issue
Block a user