mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 07:27:43 +00:00
Fix skip challenge
This commit is contained in:
@@ -594,7 +594,7 @@ export const pkiAcmeServiceFactory = ({
|
|||||||
const createdOrder = await acmeOrderDAL.create(
|
const createdOrder = await acmeOrderDAL.create(
|
||||||
{
|
{
|
||||||
accountId: account.id,
|
accountId: account.id,
|
||||||
status: skipDnsOwnershipVerification ? AcmeOrderStatus.Valid : AcmeOrderStatus.Pending,
|
status: skipDnsOwnershipVerification ? AcmeOrderStatus.Ready : AcmeOrderStatus.Pending,
|
||||||
notBefore: payload.notBefore ? new Date(payload.notBefore) : undefined,
|
notBefore: payload.notBefore ? new Date(payload.notBefore) : undefined,
|
||||||
notAfter: payload.notAfter ? new Date(payload.notAfter) : undefined,
|
notAfter: payload.notAfter ? new Date(payload.notAfter) : undefined,
|
||||||
// TODO: read config from the profile to get the expiration time instead
|
// TODO: read config from the profile to get the expiration time instead
|
||||||
|
|||||||
Reference in New Issue
Block a user