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
Update user-service.ts
Daniel Hougaard3fc7a71bc75f
diff --git a/backend/src/services/user/user-service.ts b/backend/src/services/user/user-service.tsindex d257be9f9f..30bf750c3d 100644--- a/backend/src/services/user/user-service.ts+++ b/backend/src/services/user/user-service.ts@@ -173,7 +173,11 @@ export const userServiceFactory = ({const getMe = async (userId: string) => {const user = await userDAL.findUserEncKeyByUserId(userId);if (!user) throw new NotFoundError({ message: `User with ID '${userId}' not found`, name: "GetMe" });- return user;++ return {+ ...user,+ encryptionVersion: user.encryptionVersion!+ };};const deleteUser = async (userId: string) => {