···11import { describe, it, expect, vi, beforeEach } from "vitest";
22import type { BetterSQLite3Database } from "drizzle-orm/better-sqlite3";
33-import { eq, and } from "drizzle-orm";
33+import { eq } from "drizzle-orm";
4455// Use the shared test-db helper from core (resolves via workspace)
66import { createTestDb, seedSphere } from "../../../core/src/__tests__/helpers/test-db.ts";
-1
packages/feature-requests/src/api/comments.ts
···260260// Delete own comment or admin-moderate a comment
261261app.delete("/comments/:id", requireAuth, async (c) => {
262262 const id = c.req.param("id");
263263- const db = getDb();
264263 const did = c.var.did;
265264 const sphereId = c.var.sphereId;
266265 const sphereOwnerDid = c.var.sphereOwnerDid;