aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/workerUtils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workers/workerUtils.ts')
-rw-r--r--apps/workers/workerUtils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/workers/workerUtils.ts b/apps/workers/workerUtils.ts
index 59a5a780..dc846177 100644
--- a/apps/workers/workerUtils.ts
+++ b/apps/workers/workerUtils.ts
@@ -1,6 +1,6 @@
import { eq } from "drizzle-orm";
-import { db, HoarderDBTransaction } from "@karakeep/db";
+import { db, KarakeepDBTransaction } from "@karakeep/db";
import { assets, AssetTypes, bookmarks } from "@karakeep/db/schema";
type DBAssetType = typeof assets.$inferInsert;
@@ -8,7 +8,7 @@ type DBAssetType = typeof assets.$inferInsert;
export async function updateAsset(
oldAssetId: string | undefined,
newAsset: DBAssetType,
- txn: HoarderDBTransaction,
+ txn: KarakeepDBTransaction,
) {
if (oldAssetId) {
await txn.delete(assets).where(eq(assets.id, oldAssetId));