update small missing '

This commit is contained in:
Maidul Islam
2024-10-21 19:06:02 -04:00
parent c6f66226c8
commit 764446a2d9
6 changed files with 32 additions and 32 deletions
@@ -249,7 +249,7 @@ export const ldapConfigServiceFactory = ({
const orgBot = await orgBotDAL.findOne({ orgId });
if (!orgBot)
throw new NotFoundError({
message: `Organization bot in organiation with ID '${orgId}' not found`,
message: `Organization bot in organization with ID '${orgId}' not found`,
name: "OrgBotNotFound"
});
const key = infisicalSymmetricDecrypt({
@@ -181,7 +181,7 @@ export const permissionServiceFactory = ({
const orgRole = await orgRoleDAL.findOne({ slug: role, orgId });
if (!orgRole)
throw new NotFoundError({
message: `Specified role ''${role} was not found in the organization with ID '${orgId}'`
message: `Specified role '${role}' was not found in the organization with ID '${orgId}'`
});
return {
permission: buildOrgPermission([{ role: OrgMembershipRole.Custom, permissions: orgRole.permissions }]),
@@ -193,7 +193,7 @@ export const samlConfigServiceFactory = ({
const orgBot = await orgBotDAL.findOne({ orgId });
if (!orgBot)
throw new NotFoundError({
message: `Organization bot not found for organization with ID ${orgId}`,
message: `Organization bot not found for organization with ID '${orgId}'`,
name: "OrgBotNotFound"
});
const key = infisicalSymmetricDecrypt({
@@ -381,7 +381,7 @@ export const secretApprovalPolicyServiceFactory = ({
if (!sapPolicy) {
throw new NotFoundError({
message: `Secret approval policy with ID ${sapId} not found`
message: `Secret approval policy with ID '${sapId}' not found`
});
}