Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Correct database error message

Tuan Dang1ae375188b6c
diff --git a/backend/src/ee/services/group/user-group-membership-dal.ts b/backend/src/ee/services/group/user-group-membership-dal.ts
index b53f59320f..cadbbdc361 100644
--- a/backend/src/ee/services/group/user-group-membership-dal.ts
+++ b/backend/src/ee/services/group/user-group-membership-dal.ts
@@ -205,7 +205,7 @@ export const userGroupMembershipDALFactory = (db: TDbClient) => {
);
return docs;
} catch (error) {
- throw new DatabaseError({ error, name: "Find group memberships by user id in org" });
+ throw new DatabaseError({ error, name: "Find group memberships by group id in org" });
}
};