mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 14:27:23 +00:00
update small missing '
This commit is contained in:
@@ -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`
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user