import dates as well
This commit is contained in:
parent
1a949ecdc6
commit
b1a55785b5
|
@ -66,6 +66,7 @@ export default async function importFromLinkwarden(
|
|||
url: link.url?.trim().slice(0, 254),
|
||||
name: link.name?.trim().slice(0, 254),
|
||||
description: link.description?.trim().slice(0, 254),
|
||||
importDate: new Date(link.importDate || link.createdAt),
|
||||
collection: {
|
||||
connect: {
|
||||
id: newCollection.id,
|
||||
|
|
Ŝarĝante…
Reference in New Issue