mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fix type error
This commit is contained in:
@@ -188,13 +188,10 @@ export const certificateProfileDALFactory = (db: TDbClient) => {
|
||||
} as TCertificateProfileWithConfigs["certificateTemplate"])
|
||||
: undefined;
|
||||
|
||||
const project =
|
||||
result.projectId && result.orgId
|
||||
? ({
|
||||
id: result.projectId,
|
||||
orgId: result.orgId
|
||||
} as TCertificateProfileWithConfigs["project"])
|
||||
: undefined;
|
||||
const project = {
|
||||
id: result.projectId,
|
||||
orgId: result.orgId
|
||||
} as TCertificateProfileWithConfigs["project"];
|
||||
|
||||
const transformedResult: TCertificateProfileWithConfigs = {
|
||||
id: result.id,
|
||||
|
||||
Reference in New Issue
Block a user