fix: links
This commit is contained in:
parent
e2eb2da375
commit
744135a239
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ export default async function () {
|
||||||
|
|
||||||
if (process.env.ELEVENTY_PRODUCTION) {
|
if (process.env.ELEVENTY_PRODUCTION) {
|
||||||
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']))
|
]).sort((a, b) => new Date(b['date']) - new Date(a['date']))
|
||||||
|
|
||||||
await client.send(
|
await client.send(
|
||||||
|
|
Reference in a new issue