From 202acac07eea44c756a0b1f8cc3469525ead5075 Mon Sep 17 00:00:00 2001 From: Dijana Pavlovic Date: Thu, 1 Aug 2024 14:08:37 +0200 Subject: [PATCH] Delete unused code --- app/lib/db/drafts.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/lib/db/drafts.ts b/app/lib/db/drafts.ts index 4ab4ae9..b4306c3 100644 --- a/app/lib/db/drafts.ts +++ b/app/lib/db/drafts.ts @@ -2,7 +2,7 @@ import createClient from "edgedb"; import { client, auth } from "@/app/lib/edgedb"; -import e, { type $infer } from "@/dbschema/edgeql-js"; +import e from "@/dbschema/edgeql-js"; import { getFtsDraftsCount } from "./queries/getFtsDraftsCount.query"; import { getFtsDrafts } from "./queries/getFtsDrafts.query"; @@ -42,7 +42,6 @@ const getDraftsQuery = e.params( id: true, title: true, question: true, - opa: true, linkedTags: { name: true, disabled: true,