fix: links

This commit is contained in:
Cory Dransfeldt 2024-02-18 21:48:50 -08:00
parent 744135a239
commit 4f969ba441

View file

@ -81,7 +81,7 @@ export default async function () {
const mergedData = filterDuplicates([ const mergedData = filterDuplicates([
...formatLinkData(fullData).filter((link) => link.tags.includes('share')), ...formatLinkData(fullData).filter((link) => link.tags.includes('share')),
...Object.values(cachedLinks) ...Object.values(cachedLinks)
]).sort((a, b) => new Date(b['date']) - new Date(a['date'])) ])
await client.send( await client.send(
new PutObjectCommand({ new PutObjectCommand({