import dates as well
This commit is contained in:
@@ -66,6 +66,7 @@ export default async function importFromLinkwarden(
|
|||||||
url: link.url?.trim().slice(0, 254),
|
url: link.url?.trim().slice(0, 254),
|
||||||
name: link.name?.trim().slice(0, 254),
|
name: link.name?.trim().slice(0, 254),
|
||||||
description: link.description?.trim().slice(0, 254),
|
description: link.description?.trim().slice(0, 254),
|
||||||
|
importDate: new Date(link.importDate || link.createdAt),
|
||||||
collection: {
|
collection: {
|
||||||
connect: {
|
connect: {
|
||||||
id: newCollection.id,
|
id: newCollection.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user