mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-20 14:42:51 +00:00
Fix types
This commit is contained in:
@@ -388,7 +388,7 @@ export const pkiAcmeServiceFactory = ({
|
||||
// if we do, return the existing order
|
||||
|
||||
const order = await acmeOrderDAL.transaction(async (tx) => {
|
||||
const account = await acmeAccountDAL.findByProjectIdAndAccountId(profileId, accountId)!;
|
||||
const account = (await acmeAccountDAL.findByProjectIdAndAccountId(profileId, accountId))!;
|
||||
const createdOrder = await acmeOrderDAL.create(
|
||||
{
|
||||
accountId: account.id,
|
||||
@@ -585,7 +585,7 @@ export const pkiAcmeServiceFactory = ({
|
||||
type: challenge.type,
|
||||
url: buildUrl(profileId, `/authorizations/${authzId}/challenges/${challenge.id}`),
|
||||
status: challenge.status,
|
||||
token: auth.token
|
||||
token: auth.token!
|
||||
};
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user