mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 10:28:22 +00:00
Fix error caused by rebase
This commit is contained in:
@@ -613,7 +613,6 @@ export const pkiAcmeServiceFactory = ({
|
|||||||
// if not, we may be able to reject it early with an unsupportedIdentifier error.
|
// if not, we may be able to reject it early with an unsupportedIdentifier error.
|
||||||
|
|
||||||
// TODO: ideally, we should return an error with subproblems if we have multiple unsupported identifiers
|
// TODO: ideally, we should return an error with subproblems if we have multiple unsupported identifiers
|
||||||
const profile = await validateAcmeProfile(profileId);
|
|
||||||
if (payload.identifiers.some((identifier) => identifier.type !== AcmeIdentifierType.DNS)) {
|
if (payload.identifiers.some((identifier) => identifier.type !== AcmeIdentifierType.DNS)) {
|
||||||
throw new AcmeUnsupportedIdentifierError({ message: "Only DNS identifiers are supported" });
|
throw new AcmeUnsupportedIdentifierError({ message: "Only DNS identifiers are supported" });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user