mirror of
https://github.com/Infisical/infisical.git
synced 2025-03-25 14:05:03 +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, {
|
||||
name,
|
||||
slug: slug ? slugify(slug) : slug,
|
||||
slug: slug ? slugify(slug) : undefined,
|
||||
authEnforced
|
||||
});
|
||||
if (!org) throw new BadRequestError({ name: "Org not found", message: "Organization not found" });
|
||||
|
Reference in New Issue
Block a user