Skip to content

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

Error renaming

Daniel Hougaardfb9cdb591c88
diff --git a/backend/src/services/project/project-dal.ts b/backend/src/services/project/project-dal.ts
index 8b29715951..7d0826e129 100644
--- a/backend/src/services/project/project-dal.ts
+++ b/backend/src/services/project/project-dal.ts
@@ -80,18 +80,6 @@ export const projectDALFactory = (db: TDbClient) => {
}
};
- const setProjectUpgradeStatus = async (projectId: string, status: ProjectUpgradeStatus | null, tx?: Knex) => {
- try {
- const data: TProjectsUpdate = {
- upgradeStatus: status
- } as const;
-
- await (tx || db)(TableName.Project).where({ id: projectId }).update(data);
- } catch (error) {
- throw new DatabaseError({ error, name: "Set project upgrade status" });
- }
- };
-
const findAllProjectsByIdentity = async (identityId: string) => {
try {
const workspaces = await db(TableName.IdentityProjectMembership)