chore: fallback date

This commit is contained in:
Cory Dransfeldt 2024-01-11 04:34:24 -08:00
parent aac5b2647d
commit 7081583087
No known key found for this signature in database

View file

@ -18,7 +18,7 @@ export default async function () {
title: link['title'], title: link['title'],
url: link['source_url'], url: link['source_url'],
tags: [...new Set(Object.keys(link['tags']))], tags: [...new Set(Object.keys(link['tags']))],
date: link['updated_at'], date: `${link['updated_at'] || link['created_at']}`,
summary: link['summary'], summary: link['summary'],
note: link['notes'], note: link['notes'],
description: `${link['summary']}<br/><br/>`, description: `${link['summary']}<br/><br/>`,