From 69108c0375a4c98f31b1367b6aa4b140b359c441 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 14 May 2024 20:58:29 -0500 Subject: [PATCH] UnattachedMedia: point to new EventsDB tables --- src/db/unattached-media.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/unattached-media.ts b/src/db/unattached-media.ts index 708e2f9..8063628 100644 --- a/src/db/unattached-media.ts +++ b/src/db/unattached-media.ts @@ -44,7 +44,7 @@ async function selectUnattachedMediaQuery() { async function getUnattachedMedia(until: Date) { const query = await selectUnattachedMediaQuery(); return query - .leftJoin('tags', 'unattached_media.url', 'tags.value') + .leftJoin('nostr_tags', 'unattached_media.url', 'nostr_tags.value') .where('uploaded_at', '<', until.getTime()) .execute(); }