Fixed post duplication

This commit is contained in:
Christopher
2026-01-22 16:36:32 -08:00
parent d2d8d9b746
commit 7ff8b36ead
4 changed files with 143 additions and 57 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ export async function cacheRemoteUserPosts(
linkPreviewDescription: linkPreview?.description || null,
linkPreviewImage: linkPreview?.image || null,
mediaJson: mediaJson.length > 0 ? JSON.stringify(mediaJson) : null,
});
}).onConflictDoNothing();
cached++;
} catch (error) {