Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix backend type check error
x0322054f7ee7919d7f
diff --git a/backend/src/services/org/org-dal.ts b/backend/src/services/org/org-dal.tsindex 53dfc33555..89bdf9008c 100644--- a/backend/src/services/org/org-dal.ts+++ b/backend/src/services/org/org-dal.ts@@ -272,7 +272,9 @@ export const orgDALFactory = (db: TDbClient) => {// special queryconst findAllOrgsByUserId = async (userId: string- ): Promise<(TOrganizations & { orgAuthMethod: string; userRole: string; userStatus: string })[]> => {+ ): Promise<+ (TOrganizations & { orgAuthMethod: string; userRole: string; userStatus: string; userJoinedAt: Date })[]+ > => {try {const org = (await db.replicaNode()(TableName.Membership)@@ -308,7 +310,12 @@ export const orgDALFactory = (db: TDbClient) => {ELSE ''END as "orgAuthMethod"`)- )) as (TOrganizations & { orgAuthMethod: string; userRole: string; userStatus: string })[];+ )) as (TOrganizations & {+ orgAuthMethod: string;+ userRole: string;+ userStatus: string;+ userJoinedAt: Date;+ })[];return org;} catch (error) {