From 6583c242fbc32391418e70736b8e8a620280d574 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 9 Jul 2025 15:47:33 +0200 Subject: [PATCH] remove unused method (0 references) --- .../project-environments/environment-store.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/lib/features/project-environments/environment-store.ts b/src/lib/features/project-environments/environment-store.ts index 457fbd47df..e808463f90 100644 --- a/src/lib/features/project-environments/environment-store.ts +++ b/src/lib/features/project-environments/environment-store.ts @@ -301,20 +301,6 @@ export default class EnvironmentStore implements IEnvironmentStore { return present; } - async getByName(name: string): Promise { - const stopTimer = this.timer('getByName'); - const row = await this.db(TABLE) - .where({ name }) - .first(); - stopTimer(); - if (!row) { - throw new NotFoundError( - `Could not find environment with name ${name}`, - ); - } - return mapRow(row); - } - async updateProperty( id: string, field: string,